Data recovery emergency on a downed server... Help please!!
Tom Legrady
legrady-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Mon Dec 29 23:30:07 UTC 2003
Don't use zcat to decompress a file ... use the appropriate tool, gunzip:
gunzip file.tar.gz
ls file.tar
NB. gunzip -c file.tar.gz is identical to zcat/
He already has a backup of the tar.gz ... it's called a tape
Tom
Walter Dnes wrote:
>On Mon, Dec 29, 2003 at 10:51:45AM -0500, Madison Kelly wrote
>
>
>
>>PS - I got a dd of th last tape that ran (finally) and it is about 3.6GB
>>(about right). I extracted it as a tar.gz (which should work) but it fails
>>claiming to not be a gzip archive... Any ideas on that front by chance?
>>
>>
>
> *MAKE A BACKUP COPY OF THE TAR.GZ FILE FIRST* !!!
>
> Straight from the man page...
>
>
>> tar -xvvzf foo.tar.gz
>> extract gzipped foo.tar.gz
>>
>>
>..did you remember the "z" parameter ?
>
> I've had similar problems with tar.bz2 archives. I find that doing it
>one step at a time works. Note, you will need a *LOT* more diskspace.
>
>Step 1) zcat filename.tar.gz > filename.tar
> The "zcat" executable is named "gzcat" in some versions. Use whichever
>one works on your system.
>
>Step 2) tar -xvf filename.tar
>
>
>
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list