cashmoney
October 21st, 2008, 02:01 PM
I backed up my pc prior to re-installing the OS using
tar cvpjf backup.tar.bz2 --exclude=/proc --exclude=/lost+found --exclude=/backup.tar.bz2 --exclude=/mnt --exclude=/sys /
When I go to unpack it on my system it using
tar xvpfj backup.tar.bz2 -C /
It errors out apparently the external Drive I mounted it to went bad. Is there a way to force it to continue to extract regardless of errors? Obviosly I won't extract it to root at this point but there is 15 GB of music I downloaded off Itunes and about a gig or two of family pictures I don't want to lose. Here is the error. Thanks in advance.
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: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
When I run -tvv option like suggested, the only packet that shows a CRC error is 1901 the rest of the archive is good. So is there a way I can tell it to extract ignoring errors?
Or extract to the 1900th block skip the 1901 and restart at 1902 and continue to the end?
tar cvpjf backup.tar.bz2 --exclude=/proc --exclude=/lost+found --exclude=/backup.tar.bz2 --exclude=/mnt --exclude=/sys /
When I go to unpack it on my system it using
tar xvpfj backup.tar.bz2 -C /
It errors out apparently the external Drive I mounted it to went bad. Is there a way to force it to continue to extract regardless of errors? Obviosly I won't extract it to root at this point but there is 15 GB of music I downloaded off Itunes and about a gig or two of family pictures I don't want to lose. Here is the error. Thanks in advance.
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: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
When I run -tvv option like suggested, the only packet that shows a CRC error is 1901 the rest of the archive is good. So is there a way I can tell it to extract ignoring errors?
Or extract to the 1900th block skip the 1901 and restart at 1902 and continue to the end?