Mark Sopuch wrote:
> Hi,
>
> When I run rsync manually from either direction of our WAN link to our
> remote office without the --server --sender options the copy works fine
> but when I allow BackupPC to do it's thing using --server --sender it
> reports the following error without performing the backup:
>
> full backup started for directory /
> Running: /usr/bin/ssh -q -x -l root hostname.remote nice -n 19 /usr/bin/rsync
> --server --sender --numeric-ids --perms --owner --group -D --links
> --hard-links --times --block-size=2048 --recursive --ignore-times . /
> Xfer PIDs are now 9528
> 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)
>
> The exact BackupPC host configuration I use for WAN rsync works on our
> LAN hosts without issue. I set all LAN and WAN hosts up using
> newhost=existinghost and just tweaked the ping timeouts for the WAN ones.
>
> What in a WAN arrangement might cause this situation? Why does BackupPC
> use --server --sender explicitly and not make them tunable from the CGI?
Those are options to the remote rsync that you normally don't see - but
even the standard rsync passs them internally to its remote partner.
> I searched the list for an answer but you'd be surprised how many
> context hits there are for standard rsync commands matching Connection
> reset by peer and --server --sender in BackupPC error log output!
The 'connection reset by peer' is the error you would get if your ssh
keys aren't right. Are you sure you are running as the backuppc user
when you test the ssh connection and rsync command?
--
Les Mikesell
[EMAIL PROTECTED]
-------------------------------------------------------------------------
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/