Re: [BackupPC-users] rsync --server --sender does not work.
2010-08-22 12:09:19
On 8/22/10 10:24 AM, Xuo wrote:
> Hi,
>
> I try to use backuppc with rsync to backup files of one client (ordi3)
> onto the backuppc server (ordi4) .
> I get the following error message :
>
> 2010-08-21 20:48:14 Got fatal error during xfer (Child exited prematurely)
> 2010-08-21 20:48:19 Backup aborted (Child exited prematurely)
> 2010-08-21 20:48:19 Saved partial dump 0
>
> To debug, I tried to run the same command manually from the server
> backuppc account (I do not have permission to run ssh as root user, nor
> from the server, neither from the client).
>
> /usr/bin/ssh -q -x -l backuppc ordi3 sudo /usr/bin/rsync --server
> --sender --numeric-ids --perms --owner --group -D --links --hard-links
> --times --block-size=2048 --recursive --ignore-times . /
>
> Nothing happens. The command does not do anything. I do not have any
> error message. I need to Ctrl-C to stop it.
>
> To debug again, I run the command without the --server and --sender options.
>
>> From the server, I ran :
>
> /usr/bin/ssh -q -x -l backuppc ordi3 sudo /usr/bin/rsync --numeric-ids
> --perms --owner --group -D --links --hard-links --times
> --block-size=2048 --recursive --ignore-times -av /home/eric/tmp/sources
> ./tmp
>
> Then files are successfully copied locally onto ordi3 (the client)
> without being prompted for any password.
>
>> From the client, I ran :
>
> /usr/bin/ssh -q -x -l backuppc ordi4 sudo /usr/bin/rsync --numeric-ids
> --perms --owner --group -D --links --hard-links --times
> --block-size=2048 --recursive --ignore-times -av /var/lib/backuppc
> /tmp/tmpbck
>
> Then files are successfully copied locally onto ordi4 (the server)
> without being prompted for any password.
>
> It means that there is someting wrong with the --server and --sender
> options but I don't know what.
>
> Does anybody have any idea to solve the problem.
The --server and --sender options aren't something you use with a normal rsync
command. They are internally passed from the local to remote instance - you
just see them in backuppc because the rsync is implemented internally in perl.
Did you get any files in that partial backup run? If so, you might have a
network problem or something causing the remote rsync to hang.
--
Les Mikesell
lesmikesell AT gmail DOT com
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
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/
|
|
|