Knowledgebase

Recover *.tar.gz

Posted by ToFFiK, 05-28-2013, 07:42 AM
Hi, I have problem with my tar.gz archive. If I try decompress it stops at ~15% with error. I tried with "SysInfoTool Archive Recovery", and it read most of archive, but because I dont have full version it doesn't save any data. Do you now any program/script (windows or linux) which may help recover my files? Last edited by ToFFiK; 05-28-2013 at 07:46 AM.

Posted by cloudrck, 05-28-2013, 11:27 AM
How are you trying to decompress it, via tar?

Posted by ToFFiK, 05-28-2013, 12:06 PM
I tried decompress it only with tar (tar -zxvf data.tar.gz), and with zcat then tar without -z, in first case fail on 15%, in second zcat finish their job but tar stops

Posted by bear, 05-28-2013, 03:33 PM
zcat is to decompress and view, printing to stdout. Try this: gunzip archivefile.tar.gz

Posted by SajanP, 05-28-2013, 03:35 PM
Might also help if you posted the error message you get.

Posted by ToFFiK, 05-29-2013, 01:56 AM
7zip/winrar/tar gave me unsuspected EOF in archive (or something like this)

Posted by ToFFiK, 05-29-2013, 02:46 AM
About zcat i read this way on another site (I dont remember where exacly), decompress using zcat and forward output to file by ">"

Posted by zoid, 05-29-2013, 03:15 AM
This is the same as gunzip. From what you described it appears the problem is within the TAR archive and not the gzip compression. Altap Salamander at www.altap.cz also supports TAR files, but I'd assume you will get a similar error as the file simply seems to be corrupt or not complete. You could try to find some tool for TAR file recovery.

Posted by ToFFiK, 05-29-2013, 03:29 AM
Thats why I write this thread, I search for that tool.

Posted by zoid, 05-29-2013, 04:26 AM
what did google give you?

Posted by ToFFiK, 05-29-2013, 05:06 AM
Only few paid programs

Posted by ishan, 05-29-2013, 10:47 AM
Do this first - gunzip < filename.tar.gz > file.tar.recovered Then tar xf file.tar.recovered This will give you whatever is available. Recovery specialists/paid tools might help you get more but this will atleast get you started

Posted by zoid, 05-29-2013, 10:49 AM
It looks like this is exactly what he already did.

Posted by ToFFiK, 05-29-2013, 11:32 AM
Sorry, my fail. I think it might be GZIP error not TAR, if I decompress it by zcat(gunzip) it create file *.tar but only with part of data (to error about EOF)

Posted by zoid, 05-29-2013, 11:34 AM
As I said before, that would rather indicate a TAR error.

Posted by ToFFiK, 05-29-2013, 12:01 PM
But still... Any ideas?

Posted by foobic, 05-29-2013, 12:07 PM
How does the tar file size compare to the total size of the files you're expecting to find within? To me the most likely meaning of an unexpected EOF would be simply that the rest of the data's not there...

Posted by ToFFiK, 05-29-2013, 12:17 PM
Pff, if I would have chance to get files which i package why I would write this topic? Like I say "SysInfoTool Archive Recovery" read all of data, but because I dont have full version I cant save it. And file of archive is about 7GB. So yes, I think in this archive are my files.

Posted by ishan, 05-29-2013, 12:22 PM
Have you recovered any file from.the archive yet ? Or did you get some files and want the rest ?

Posted by ToFFiK, 05-29-2013, 12:36 PM
Like I said, by tar/winrar/7zip I get some of those files, but like you said I'd like to have rest of this archive



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
RS Hosting down?? (Views: 613)


Language:

Client Login

Email

Password

Remember Me

Search