hi out there,
for some reasons I had to reformat my current harddrive and thus needed
to backup some directories, most importantly the home-directories of
course:
% tar cjf foo.tar.bz2 /home/foo_user
after reformatting my harddrive everything else unpacked nicely - except
my backups for the home-directories. Here is what I get when I try to
restore them:
----------CUT----------
% tar xjf foo.tar.bz2
bzip2: Data integrity error when decompressing.
Input file = (stdin), output file = (stdout)
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to *attempt* to recover
data from undamaged sections of corrupted files.
tar: 56 garbage bytes ignored at end of archive
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
----------CUT----------
as mentioned, I tried the bzip2recover binary which left me with more
than 300 individual, small tar.bz2-files. Only ONE of it is obviously
damaged, the other ones expand without problems.
Anyway, after playing around a bit I was able to reassemble a tar file
containg even what came out of the damaged small tar.bz2 file, but
extracting it ends like this:
----------CUT----------
% tar xf foo.tar
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Archive contains `\004\201{' where numeric off_t value expected
tar: : Cannot open: No such file or directory
tar: Skipping to next header
tar: Error exit delayed from previous errors
----------CUT----------
so in the end I have a nice foo.tar.bz2 backup file of about 300MB and
am not able to gain access to most of the files contained because one,
small single part of about 1MB was for reasons unknown not compressed
correctly ...
virtually **any** help would be appreciated, maybe somebody can point me
to a bzip2 or tar-forum where I can post this question as well.
please note that I have posted exactly the same question on
http://www.mandrakeuser.org/mub/viewtopic.php?topic=4891&forum=7&7, but
unfortunately nobody could solve the riddle so far, thats why I try it
on this mailing-list as well.
BTW: what is the relation/difference/scope of mandrakeuser.org vs. the
mailing lists?
thanks
udo
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com