Re: [BackupPC-users] Rsync backup won't run
2010-05-26 04:14:42
Hi
Sometime ago I had a problem similar to that with solaris too and in the end i
had trash on the shell, you may try to pass "-e '' " to rsync.
Cheers,
Pedro
On Tuesday 25 May 2010 20:17:35 David Wraige wrote:
> 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/
>
--
----------------------------------------------------------------------------------------------------------
Pedro M. S. Oliveira
IT Consultant
Email: pmsoliveira AT gmail DOT com
URL: http://www.linux-geex.com
Cellular: +351 96 5867227
----------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------
_______________________________________________
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/
|
|
|