BackupPC-users

[BackupPC-users] Rsync backup won't run

2010-05-25 15:19:04
Subject: [BackupPC-users] Rsync backup won't run
From: David Wraige <david AT wraige DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Tue, 25 May 2010 20:17:35 +0100
Hi there,

I'm having major trouble getting BackupPC to run Rsync backups. I'd be
very grateful if anyone can offer some help.

I have just installed BackupPC on an Opensolaris 2009.06 (build 134)
system. That in its own right was a major task, and I'd be happy to
share my experiences in getting it installed and (nearly!) functional
with anyone else - in due course I'll try to get round to writing a
how-to for the wiki.

When I first installed it there was no joy (for the same reasons as
below), but then it started to work. I made no configuration changes, it
just started working. Then it just stopped again.

The problem is that I'm receiving the "Unable to read 4 bytes" error
every time I start a backup. The log reads as follows:

full backup started for directory /home
Running: /usr/bin/ssh -q -x -l david aragorn /usr/bin/rsync --server
--sender --numeric-ids --perms --owner --group -D --links --hard-links
--times --block-size=2048 --recursive --ignore-times . /home/
Xfer PIDs are now 660
Read EOF:
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)
Not saving this as a partial backup since it has fewer files than the
prior one (got 0 and 0 files versus 0)

I know that the ssh keys are correctly set up. The following run on the
BackupPC server as user "backuppc" shows that:

-bash-4.0$ whoami && hostname
backuppc
saruman
-bash-4.0$ ssh -l david aragorn "whoami && hostname"
david
aragorn

If I run the BackupPC_dump command manually, I get the following:

-bash-4.0$ /usr/local/BackupPC/bin/BackupPC_dump -vf aragorn
cmdSystemOrEval: about to system /usr/sbin/ping -s aragorn 56 1
cmdSystemOrEval: finished: got output PING aragorn: 56 data bytes
64 bytes from aragorn.wraige.com (192.168.1.107): icmp_seq=0. time=1.556 ms

----aragorn PING Statistics----
1 packets transmitted, 1 packets received, 0% packet loss
round-trip (ms)  min/avg/max/stddev = 1.556/1.556/1.556/-NaN

cmdSystemOrEval: about to system /usr/sbin/ping -s aragorn 56 1
cmdSystemOrEval: finished: got output PING aragorn: 56 data bytes
64 bytes from aragorn.wraige.com (192.168.1.107): icmp_seq=0. time=1.551 ms

----aragorn PING Statistics----
1 packets transmitted, 1 packets received, 0% packet loss
round-trip (ms)  min/avg/max/stddev = 1.551/1.551/1.551/-NaN

CheckHostAlive: returning 1.551
full backup started for directory /home
started full dump, share=/home
Running: /usr/bin/ssh -q -x -l david aragorn /usr/bin/rsync --server
--sender --numeric-ids --perms --owner --group -D --links --hard-links
--times --block-size=2048 --recursive --ignore-times . /home/
Xfer PIDs are now 763
xferPids 763
Got remote protocol 30
Negotiated protocol version 28

It hangs forever at that point. If I understand correctly that means
that the rsync server has started on the client and the following
confirms this:

david@aragorn:~$ pgrep -l rsync
25014 rsync

I just can't figure out why it won't actually do the transfer, and I've
run out of debugging ideas. If anyone can help me sort this out I'd be
very grateful.

Thanks in advance,
David

------------------------------------------------------------------------------

_______________________________________________
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/