salvaging corrupted 7zip files

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

salvaging corrupted 7zip files

Post 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.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: salvaging corrupted 7zip files

Post 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.
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Re: salvaging corrupted 7zip files

Post by Weirdan »

astions wrote:Try:

Code: Select all

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