Operating System - HP-UX
1820172 Members
4256 Online
109620 Solutions
New Discussion юеВ

Re: directory checksum error recovering a tar-gzip file

 
Edison Burnengo_1
New Member

directory checksum error recovering a tar-gzip file

Hi,
I has created a tar file whith the follow sentence:

tar cf - ./u01/dir1 | gzip > /exports/tarfile.Z

When I try to recover the information with the sentence
gunzip < /exports/tarfile.Z | tar xvf - .

it recovers many files and directories and then I received the messagge

"directory checksum error"

Can I recover the complete data? How?

Thanks in advance.

3 REPLIES 3
Joseph Loo
Honored Contributor

Re: directory checksum error recovering a tar-gzip file

hi,

there may be an error to the one of the files u try to recover. if u do a "tar tvf", what is the last file it try to "untar", that may give u some clues.

regards.
what you do not see does not mean you should not believe
Edison Burnengo_1
New Member

Re: directory checksum error recovering a tar-gzip file

Thaks for your response,

I know the last file that was recovered. this is the last file that appears in "tar tvf" too.
We dont know how we can skip this file or the directory to continue with the restore or how repear the file.

thanks again.
Stephen Keane
Honored Contributor

Re: directory checksum error recovering a tar-gzip file

Would using pax help? There is a flag on pax (-c) which says extract all files execpt those matching the pattern. you could use that to skip the dodgy directory?