Page 1 of 1

salvaging corrupted 7zip files

Posted: Fri Jan 22, 2010 1:39 am
by s.dot
I recently made a big boo-boo and reinstalled windows and lost all of my files I thought I had backed up. I used a data recovery program to get back lots of .7z backup archives I had of my files.

The problem is the .7z files i recovered "can't be opened as archive" which makes me think there may be some corrupt headers or some corrupt data. How can I salvage what I can from within these 7zip archives? Is anything possible? I'm sure there's lots of (or at least a little bit of) good data inside there.

Re: salvaging corrupted 7zip files

Posted: Fri Jan 22, 2010 10:46 pm
by Benjamin
Did you use one of those USB to hard drive adapters by any chance?

Try:

Code: Select all

cpio -ivd -H tar < archive.tar
You'll need to replace tar with the actual file type.

Re: salvaging corrupted 7zip files

Posted: Sat Jan 23, 2010 9:41 pm
by Weirdan
astions wrote:Try:

Code: Select all

cpio -ivd -H tar < archive.tar
cpio doesn't support 7zip from what I know.