tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* rvdump via ssh
@ 2004-12-07 20:14 Steve Feehan
  2004-12-07 21:45 ` Cant find classes.zip Bugs
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Feehan @ 2004-12-07 20:14 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-12-07 21:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-07 20:14 rvdump via ssh Steve Feehan
2004-12-07 21:45 ` Cant find classes.zip Bugs

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