tar remotely using ssh and directly transfer files into tape
Posted on 2001-08-24
I'm having trouble getting this to work. The local machine runs solaris and is the only one with a tape drive. i'm trying to archive files from other machines (running Linux) directly into the tape drive.
I tried commands like this:
Local> ssh user@remote "tar -cv /home/dir1" > /dev/rmt/0 dir1.tgz
and some combinations similarly but nothing gets into tape. It works if it is to a local directory though. I'll offer 200 points for this one, if anyone can help me out quickly.