LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   remote tape backups issues (https://www.linuxquestions.org/questions/linux-software-2/remote-tape-backups-issues-612909/)

izghitu 01-11-2008 12:49 PM

remote tape backups issues
 
Hi,

I have 2 servers.

One of them has the tape drive with a tape in it.

The tape backups run fine from the server(let's call it serverA) with the tape drive.

When I try to do the backup from serverB to serverA remotely I get the following:
DUMP: 192.1.1.91: Connection refused
DUMP: login to 192.1.1.91 as root failed.

The rdump command is:
[root@mail ~]# /sbin/rdump 0auqfb root@192.1.1.91:/dev/nst0 126 /dev/sda2

However I can SSH fine into serverA from serverB:
[root@mail ~]# ssh 192.1.1.91
Last login: Fri Jan 11 18:45:30 2008 from 192.1.1.93
[root@file ~]#

What can be the issue?

Thanks

forrestt 01-11-2008 02:13 PM

From the rdump man page:

Code:

RSH    Dump uses the contents of this variable to determine the name of
      the  remote shell command to use when doing remote backups (rsh,
      ssh etc.). If this variable is not set, rcmd(3)  will  be  used,
      but only root will be able to do remote backups.

Basically, you need to set your environment variable RSH to your ssh binary. Somethng like the following should work:

Code:

RSH=/usr/bin/ssh
export RSH

or

Code:

setenv RSH /usr/bin/ssh
Of course, you will need to replace /usr/bin/ssh with the path to ssh, but the one listed should be right for most distro's.

HTH

Forrest

izghitu 01-11-2008 04:41 PM

Thanks for your help


All times are GMT -5. The time now is 02:47 AM.