Operating System - HP-UX
1820195 Members
4273 Online
109620 Solutions
New Discussion юеВ

Re: Backing up to a remote DLT

 
Vinesh Dhevcharran
Occasional Advisor

Backing up to a remote DLT

Hi

From SAM, I tried to setup a backup to a remote tape device, but this does not work. This is what I have:

remote_machine:/root#mt -f /dev/rmt/c4t6d0BEST status
Drive: Quantum DLT4000
Format: DLT 81633 bpi 64 tracks compressed (40 GB)
Status: [41118385] BOT online compression immediate-report-mode
File: 0
Block: 0

The backup script ....
45 12 * * 2 /usr/sam/lbin/br_backup MAG FULL Y remote_machine.domain.xx.xx:/dev/rmt/c4t6d0BEST /etc/sam/br/graphRBAa04750 root Y 1 N > /var/sam/SAM_br_msgs 2>&1

The fbackup graph ....
/etc/sam/br/graphRBAa04750
i /home/dhevv1

The backup output ....
br_backup: Invoking fbackup. See /var/sam/log/br_log for details.
fbackup(1004): session begins on Tue Oct 8 12:45:04 2002
fbackup(3301): could not open output file remote_machine.domain.xx.xx:/dev/rmt/c4t6d0B
EST
fbackup(3019): would you like to enter a new output file?
fbackup(3004): writer aborting
fbackup(1002): Backup did not complete : Reader or Writer process exit

What do I need to do to resolve this problem?
3 REPLIES 3
Stefan Farrelly
Honored Contributor

Re: Backing up to a remote DLT


For it to work fbackup needs to remsh to the remote server where the DLT drive is without a password (as root on both servers). You can test it with; (as root)
remsh uptime

And if it doesnt ask for a password then it should work. You will need to setup a .rhosts file on the remote server to allow logging it without a password.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Vinesh Dhevcharran
Occasional Advisor

Re: Backing up to a remote DLT

Hi,

I have added a .rhosts in the home directory of the remote host (test) and this does not work!!!

test:/root#ls -al
total 28
drwxr-x--- 6 root sys 1024 Oct 8 13:58 .
drwxr-xr-x 25 root root 1024 Jul 17 10:59 ..
-rw-r--r-- 1 root sys 10 Oct 8 14:48 .rhosts
-rw------- 1 root sys 2306 Aug 29 10:00 .sh_history

test:/root#more .rhosts
prod root

remsh test uptime
rcmd: connect: test.domainx.co.za: Connection refused

Note: The root home on test is /root and the root home on prod is /
Stefan Farrelly
Honored Contributor

Re: Backing up to a remote DLT


read the manpage for .rhosts - its permissions must be 400 !
Im from Palmerston North, New Zealand, but somehow ended up in London...