>I've recently begun testing the restore procedures ...
Sheesh!! Couldn't you think of anything better to do? :-) :-)
>in order to write a script
>to allow VERY easy restores (In case I'm not available) ...
Ummm, ever heard the term "job security"??? :-) That's what I keep
telling my boss.
>amrestore (using dump to record and restore to restore) gives this error af=
>ter
>trying to load the specified disk/drive image and actually perform the
>restore.
What was the exact command sequence you tried to use? My guess is you
were piping the output of amrestore and either told restore to just do
a catalogue or told it to restore one or two things. In either case,
restore terminates as soon as it does everything it needs to do and shuts
down the right hand side of the pipe, which in turn causes amrestore
(or maybe gzip) to get a SIGPIPE and terminate.
This is perfectly normal.
>Also, I've been trying to get a network restore working and do not
>see a way to tell amrecover to specify a remote tapedrive (to recover from
>client machines) or specify where to restore too (server restore directly to
>clients.) ...
Whoa. You switched from amrestore to amrecover (which I used to twist
around all the time, too). Which did you mean?
Amrestore has to be run on the machine with the tape drive. If you want
to bring the image back to the client, use rsh/ssh. From the client:
ssh -n amanda-server /path/to/amrestore -p ... | local-restore-pgm
Reminder: whenever you run a restore program from a pipe, be it the
ssh one above or directly from amrestore on the same machine or via
dd or whatever, be sure to use the 'b' flag and an arg of '2' (or '4'
if it doesn't like '2'). That tells it to read in small chunks which
a pipeline is usually only able to provide. E.g.:
amrestore -p ... | ufsrestore xbf 2 - some/file/to/restore
>Does anyone have a workaround for this or an option for
>amrecover to see a remote tapedrive? ...
The workaround is to use rsh/ssh. No, you cannot make a system restore
program understand Amanda tape format directly. And if you really mean
amrecover, it is already doing all this for you, i.e. firing up amrestore
on the tape server machine and piping the output back to the appropriate
restore program.
>Thomas J. Hudak
John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]