![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| backup through tar command on remote tape | girish.batra | SUN Solaris | 0 | 02-26-2008 04:51 AM |
| restoring backup using tar command | amirthraj_12 | UNIX for Dummies Questions & Answers | 2 | 08-15-2007 03:48 PM |
| help with AIX and backup command | rickie | UNIX for Advanced & Expert Users | 1 | 03-05-2007 09:37 PM |
| OS X Server: Trouble restoring mail from backup... | l008com | OS X (Apple) | 0 | 08-18-2004 05:10 AM |
| Restoring a directory using cpio command? | Relykk | UNIX for Dummies Questions & Answers | 2 | 04-04-2004 02:05 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
restoring backup using tar command
Please help me in resolving the issue.
I have taken backup using the below command $ tar cvf - . |compress -> /opt/globusback2/needed_backups/apglsg.tar.Z I tried to restore the backup using the below command. $ zcat /opt/globusback2/needed_backups/apglsg.tar.Z | tar -xvf – But it throws an error as “tar: 0511-169 A directory checksum error on media; 17 not equal to 26686.” Can some one help me out to resolve the issue as soon as possible? Regards Vijay |
| Forum Sponsor | ||
|
|
|
|||
|
I would check the compression first with
# uncompress /opt/globusback2/needed_backups/apglsg.tar.Z If that returns a zero return code, then the compression, at least, is fine, but the tar archive itself is corrupted. In that case, depending on where the corruption is in the archive, you still may be able to extract some of the files. Try a directory listing on it: # tar tvf /opt/globusback2/needed_backups/apglsg.tar Good Luck! |
|
|||
|
I executed the below command and result is as below
$ uncompress /opt/globusback2/needed_backups/apglsg.tar.Z /opt/globusback2/needed_backups/apglsg.tar: A file cannot be larger than the value set by ulimit. please help what to do. |