Hi David, Thanks for the info, now I know.
Best regards. Pabs "Dr. David Alan Gilbert" <[EMAIL PROTECTED]> 11/26/2006 07:29 AM To [EMAIL PROTECTED] cc [email protected] Subject Re: [Bug-tar] Restore problem using tar * [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: > Hi All, > > I create an archive using tar like this: > > tar -cvf /dev/st0 /etc/oraInst.loc /etc/oratab /etc/oraInventory > /d/d01/app/pasardata /d/d02/app/pasardata /d/d03/app/pasardata > /d/d04/app/pasardata /u/u01/app /u/u02/oracle > > But when I tried to view the content /u/u01/app > > [EMAIL PROTECTED] backup]# tar -tvf apps_backup111606.tar /u/u01/app > tar: /u/u01/app: Not found in archive > tar: Error exit delayed from previous errors > [EMAIL PROTECTED] backup]# > > Any solutions restore selective files in the archive? Two thoughts, first list the tar fully using tvf and see what the names look like (and that the file is actually present) I suspect you'll find the leading / has been removed and that you need to tell it to extract u/u01/app Dave -- -----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux on Alpha,68K| Happy \ \ gro.gilbert @ treblig.org | MIPS,x86,ARM,SPARC,PPC & HPPA | In Hex / \ _________________________|_____ http://www.treblig.org |_______/
