I have an ss20 running Solaris 7, with an attached 4mm tape drive. The machine has one 1.2GB SCSI HDD. I would like to backup other machines
to tape, but I can't do a stopover on the ss20s hard disk, as there is virtually no space available. Is there a way I can make the tape drive available over the network, so I don't have to write archives to the local hard disk, then to tape, but directly to tape?
Let's say the hostname of your ss20 is server1 and the tape device is 0.
To backup all /opt files from server2 use server1:/dev/rmt/0n
# hostname
server2
# ufsdump 0cf server:/dev/rmt/0n /opt
See the man page for ufsdump (and/or tar) - a .rhosts file will be needed (I usually had one created via the scripts I ran just before the dump and then delete them afterwards as it is a security concern) along with the IP and host names in /etc/hosts for each server involved.
What I want is backup data from local machine to remote which have tape driver with root account. As I read, we need to have local hostname in .rhosts of remote machine for this task. I created .rhosts file.