[BackupPC-users] $hostIP does not seem to be taken into account
2012-04-03 12:08:41
Hello,
I have a Debian GNU/Linux Squeeze server running backuppc 3.1.0. I have
a client machine (vdm) also running Debian GNU/Linux Squeeze which
receives its IP address from a DHCP server.
I can find the client's IP address by calling
nmblookup vdm.
I have the following host file entry:
vdm 0 xxxxxxx
and the following overrides in vdm.pl:
$Conf{RsyncClientCmd} = '$sshPath -q -x -l root $hostIP $rsyncPath
$argList+';
$Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l root $hostIP
$rsyncPath $argList+';
However, everytime I try to launch a backup, I get a "Backup aborted
(Unable to read 4 bytes)" error. The ssh line used by backuppc is:
/usr/bin/ssh -q -x -l root vdm /usr/bin/rsync --server --sender
--numeric-ids --perms --owner --group -D --links --hard-links --times
--block-size=2048 --recursive --ignore-times . /PATH/TO/USER/DIRS
i.e. it seems to try to connect to $host instead of $hostIP.
I just can't find out what is wrong with my config.
Can anyone point me in the right direction ?
Moritz
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [BackupPC-users] $hostIP does not seem to be taken into account,
Moritz Lennert <=
|
|
|