tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: system PRIVILEGED account <root () borg ! med ! ecu ! edu>
To: tru64-unix-managers
Subject: SUMMARY:  rrestore -i
Date: Mon, 16 Oct 1995 18:01:40 +0000	[thread overview]
Message-ID: <96075324106606.tru64-unix-managers.marc@archive.invalid> (raw)


	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
   

                 reply	other threads:[~1995-10-16 18:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox