BackupPC-users

[BackupPC-users] rsync --server --sender does not work.

2010-08-22 11:39:26
Subject: [BackupPC-users] rsync --server --sender does not work.
From: Xuo <xuoy AT free DOT fr>
To: backuppc-users AT lists.sourceforge DOT net
Date: Sun, 22 Aug 2010 17:24:45 +0200
 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.

Regards.

Xuo.



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