Thanks for all the replies. The problem turned out to be
fairly simple
THE PROBLEM
>
> I am trying to restore a file from tape using the following
>type of command
>
> /usr/sbin/rrestore -i -f remotehost:/dev/rmt5h
>
> I get the restore> prompt and am able to see the
>files on the tape with ls and use cd. When I go to extract the
>file, it tells me I must read a volume. I have tried different
>volume numbers and it says it is mounting them but the file
>never gets extracted. Either that or it tells me the message
>wrong volume (1). I am not sure which volume the file is on
>or indeed how many volumes there are. Reading the man page
>for restore has failed to enlighten me. Can someone help
>me out
>
>Thanks in advance
>
>
>Martyn White
THE SOLUTION
I was using the correct command. Note it is necessary
to cd to the backed up directory.
The solution became clear when I added the -v flag to
the command line so that I could see what was happening.
At the restore prompt, type add file then extract file.
Select the volume # as 1. The next question, answer n.
The file was being restored all the time but I
was in the wrong directory. I wanted to restore the file
/usr/users/joe/file but what I had done was to restore the
file as /usr/users/joe/joe/file because I was in the joe directory.
Duhhh ;-)
Martyn
Received on Mon Oct 16 1995 - 19:29:05 NZDT