rvdump via ssh
From: Steve Feehan (sfeehan_at_sbb.uvm.edu)
Date: 12/07/04
- Previous message: Malek Shabou: "is it the end ?"
- Next in thread: Bugs: "Cant find classes.zip"
- Reply: Bugs: "Cant find classes.zip"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 07 Dec 2004 15:14:54 -0500 To: tru64-unix-managers@ornl.gov
Question 1:
Has anyone used rvdump with ssh as the transport?
It seems that rvdump does not use /usr/bin/rsh as I have
replaced this with a wrapper script to invoke ssh with the
desired arguments. Here is what my (crude, really dumb)
wrapper script does:
#!/bin/sh
if [ ! -z "$RSH_CMD" ]
then
COMMAND="$RSH_CMD"
else
COMMAND=/usr/bin/rsh-dist
fi
exec $COMMAND $*
And then execute rdump as so:
RSH_CMD="ssh -C -i /path/to/key -l NOTROOT" \
/sbin/rvdump -0 -f remotehost:/dev/st0 /
But rvdump does not seem to be executing /usr/bin/rsh (ie.
my wrapper).
Of course, I could do:
/sbin/rvdump -0 -f - / | ssh $SSH_ARGS dd of=/dev/st0
Or some variation thereof. The reason I hope to use
rmt is to be prompted for tape changing. So I guess
that is question #2:
Does rvdump detect end-of-tape and eject/prompt
for next tape? In my case the remote host with
the tape drive is a linux system.
Thanks!
-- Steve Feehan
- Previous message: Malek Shabou: "is it the end ?"
- Next in thread: Bugs: "Cant find classes.zip"
- Reply: Bugs: "Cant find classes.zip"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]