BackupPC-users

Re: [BackupPC-users] Rsync backup won't run

2010-05-25 16:44:44
Subject: Re: [BackupPC-users] Rsync backup won't run
From: "Michael Stowe" <mstowe AT chicago.us.mensa DOT org>
To: david AT wraige DOT com, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 25 May 2010 15:43:09 -0500
> 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

So...  What about ssh -l david aragorn "/usr/bin/rsync --version"

If that works, I'd next try rsync'ing some files from the command line.

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

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