> when i run the command amrestore -p /dev/nst0 filezzz /var | tar -cV
> restore.tar it starts to read through the tape, it finds the directory
> i'm looking for, but then it stops and i can't get it to put the file on
> my hard drive, obviously i am running the wrong command can anyone help me
> out here and tell me what command i should be using?
| tar -cV restore.tar
Do a 'man tar' to see what options you should be passing. Both gnu-tar and
posix tar assign the meaning 'create' to the -c flag.
I would expect something like
| tar tf -
to see what is in the file and
| tar xf - [ooptional file(s)]
to extract all files or a specific file. If you compressed them use
| uncompress | tar xf -
| gzip -c | tar xf -
| tar zxf -
instead (depending on your OS). The commands
man tar
man uncompress
man gzip
should help you understand what is going on.
Dw.