* SUMMARY: rrestore -i
@ 1995-10-16 18:01 system PRIVILEGED account
0 siblings, 0 replies; only message in thread
From: system PRIVILEGED account @ 1995-10-16 18:01 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-10-16 18:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-10-16 18:01 SUMMARY: rrestore -i system PRIVILEGED account
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox