Nate Smith wrote:
> I'm trying to use backuppc for the first time. My server is
> squeaks-laptop, 192.168.0.104. The client is bart-laptop
> 192.168.0.101.
>
> The error output is normally associated with the authentication keys
> being incorrectly setup:
>
> full backup started for directory /home/bart
> Running: /usr/bin/ssh -q -x -l root \$hostip /usr/bin/rsync --server
> --sender --numeric-ids --perms --owner --group -D --links --hard-links
> --times --block-size=2048 --recursive --ignore-times . /home/bart/
> Xfer PIDs are now 10722
> Read EOF: Connection reset by peer
> Tried again: got 0 bytes
> Done: 0 files, 0 bytes
> Got fatal error during xfer (Unable to read 4 bytes)
> Backup aborted (Unable to read 4 bytes)
>
> But, I can ssh from [EMAIL PROTECTED] to [EMAIL PROTECTED]:
>
> [EMAIL PROTECTED]:/usr/share/backuppc/bin$ ssh [EMAIL PROTECTED]
> laptop whoami
> root
>
> So, I checked the /var/log/auth.log on the client to see an attempt to
> login as root when I tell backuppc to start a full backup. It does not
> appear. But, my test ssh [EMAIL PROTECTED] does show up. Can anyone help me
> determine why? When I run BackupPC_dump -v -f 192.168.0.101 pings work
> correctly, so I'm hoping that the var \$hostip is working. I don't
> know how to check to see what gets substituted.
>
> I've googled for a long time and don't have any ideas to try. Please
> help,
The problem seems to be $hostip. My config.pl has $host where you have
$hostip. I guess $hostip is not a recognized variable. What does your
$Conf{RsyncClientCmd} look like? Mine (default) looks like this:
$Conf{RsyncClientCmd} = '$sshPath -q -x -l root $host $rsyncPath
$argList+';
Nils Breunese.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/