Thread
:
[Announce] BackupMenu - OS backup & restore | New version - Jul 9th(v1.1)
View Single Post
woody14619
2013-01-03 , 20:01
Posts: 1,455 | Thanked: 3,309 times | Joined on Dec 2009 @ Rochester, NY
#
1144
So... I have an issue and a word of advice to all. I have a rather customized system, but have been using backup menu to back things up occasionally before updates and what not. I recently had need to try to restore from a backup, and found it failed. Imagine my surprise when I found that pretty much all of the optfs backups I'd made failed when trying to manually untar them with the error:
Code:
tar: corrupted octal value in tar header
Backup menu gave no indication that the archive was faulty, but almost all of the optfs backups had this issue. The file system it was backing up had no fs errors (I ran fsck from the command prompt before doing a backup to be sure). The rootfs backups seem to be fine.
Maybe it has something to do with the size of the tar files? They're only about 1.4G, which should be well under the size cap for files on a vfat system. Maybe a sync/unmount isn't being done after the tar is done? I just don't get why it would be screwed up.
Doing a tar -tvf | wc -l shows about 50000 files, where fsck shows more than that.
So a lot of data is after this bad spot. Word to the wise: check your backups to make sure they're good.
I'm trying to do a hand-backup using tar from the root prompt in backup-menu right now to see if it works any better. Turns out the mountsd script is broken in some way too, just FYI. Manual mounting works find though, and again fsck says the files system is fine...
Edit: As a note, hand-mounting and using a tar command to create a backup of the optfs worked just fine. The end file count was 65226 files, with a compressed size of 978M. Uncompressed it should be 1.6G. I'm trying to do a piped decompress now to see if I hit a file system issue when doing so.
__________________
Maemo Council Member: May 2012 - November 2012
Hildon Foundation founding member.
Hildon Foundation Board of Directors: March 2013 -
Jan 15, 2014
Last edited by woody14619; 2013-01-03 at
22:02
.
Quote & Reply
|
The Following 3 Users Say Thank You to woody14619 For This Useful Post:
anthonie
,
peterleinchen
,
reinob
woody14619
View Public Profile
Send a private message to woody14619
Find all posts by woody14619