bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] Restore problem using tar


From: pom
Subject: Re: [Bug-tar] Restore problem using tar
Date: Mon, 27 Nov 2006 08:20:03 +0800


Hi David,

Thanks for the info, now I know.

Best regards.

Pabs


"Dr. David Alan Gilbert" <address@hidden>

11/26/2006 07:29 AM

To
address@hidden
cc
address@hidden
Subject
Re: [Bug-tar] Restore problem using tar





* address@hidden (address@hidden) 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
>
> address@hidden backup]# tar -tvf apps_backup111606.tar /u/u01/app
> tar: /u/u01/app: Not found in archive
> tar: Error exit delayed from previous errors
> address@hidden 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   |_______/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]