BackupPC-users

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

2010-08-22 13:26:07
Subject: Re: [BackupPC-users] rsync --server --sender does not work.
From: Xuo <xuoy AT free DOT fr>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Sun, 22 Aug 2010 19:24:27 +0200
 Le 22/08/2010 18:07, Les Mikesell a écrit :
> 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.
>
Hi,

I've found something.
My server's backup path was /export1/Sauvegardes/BackupPC.
This path did not exist on the client side. I've created an NFS mount
point for both the client and server have the same destination path.
I still have one (last ??) question : is there a way to see the full
rsync command sent by the server to the client, including the exclude
paths and files to be sure they are properly described.

Thank you for your help.

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/