doing a tar to a remote tape remotely via ssh

2007-12-24 22:01:00

Gurus,

This is simple I'm sure, but I've forgotten the syntax to send do a tar & send
it to a remote tape drive via ssh...athought this won't work, I think it's
SOMETHING like this:

On the machine that holds the filesystem I want to back up, I type:
tar cpfv - /source_dir | ssh remote_host_with_tape_drive "/bin/tar xpf -
/dev/rmt/3hbn"

What am I missing?

TIA,

--Gene

Comments

Got something to say?

You must be logged in to post a comment.