Re: Simple Restore Command Issue

[email protected] (Joerg Schilling) Mon, 02 Oct 2006 13:16:01 +0200
Newsgroups gmane.comp.archivers.star.user
Message-ID <4520f4f1.3BrlydCPdi/Dn/kQ%[email protected]>
JAB <[email protected]> wrote:

> Greetings,
>
> I'm trying to restore a directory from a 4mm tape but I am confused as
> to the correct command.  Can you help me out here?
> I have verified that the directory is on the tape.
>
> Thank you kindly.
>
> netboss-2[netboss]/u01/app/netboss% sudo star -xp enm f=/dev/rmt/0
> star: 'enm' did not match
> star: 1175511 blocks + 0 bytes (total of 12037232640 bytes = 11755110.00k).
> netboss-2[netboss]/u01/app/netboss% sudo star -xp
> opt-array/app/netboss/enm f=/dev/rmt/0
> Password:
> star: 'opt-array/app/netboss/enm' did not match
> star: 1175511 blocks + 0 bytes (total of 12037232640 bytes = 11755110.00k).
> netboss-2[netboss]/u01/app/netboss% xjab2
> xjab2: Command not found.
> netboss-2[netboss]/u01/app/netboss% cd
> netboss-2[netboss]/opt/home/netboss% xjab2
> xjab2: Command not found.
> netboss-2[netboss]/opt/home/netboss% sudo star -x
> /opt-array/app/netboss/enm f=/dev/rmt/0
> netboss-2[netboss]/opt/home/netboss% date
> Mon Oct  2 15:18:02 IST 2006
> netboss-2[netboss]/opt/home/netboss% sudo star -x
> /opt-array/app/netboss/enm f=/dev/rmt/0
> Password:
> star: '/opt-array/app/netboss/enm' did not match
> star: 1175511 blocks + 0 bytes (total of 12037232640 bytes = 11755110.00k).

Well, it is only you who may know the name of the file.....

For gemeral rules that apply to file names in archives, read the star man page.

if you do not know the filename exactly, it is better to us the pattern matcher
use e.g.:

star -xvpw pat=*/enm 

Jörg

-- 
 EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
       [email protected]                (uni)  
       [email protected]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
Star-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/star-users