Nils Breunese (Lemonbit) a écrit :
> Frédéric Massot wrote:
> 
[...]
>>
>> There is this line in the file auth.log:
>> sudo: backuppc : TTY=unknown ; PWD=/var/lib/backuppc ; USER=root ;
>> COMMAND=/usr/bin/rsync --server --sender --numeric-ids --perms --owner
>> --group -D --links --hard-links --times --block-size=2048 --recursive
>> --ignore-times . /usr/local/
>>
>> The parameter exclude is not in the command line of rsync.
> 
> - Why do you hardcode the hostname in RsyncClientCmd instead of using  
> the $host variable? The default is '$sshPath -q -x -l root $host  
> $rsyncPath $argList+'. With sudo it would become '$sshPath -q -x -l  
> backuppc $host /usr/bin/sudo $rsyncPath $argList+'.

This is just for my tests.

> - I only have --ignore-times in RsyncRestoreArgs, not in RsyncArgs.

This is add by BackupPC, you can look at the file 
/usr/share/backuppc/lib/BackupPC/Xfer/Rsync.pm, to line 242

-- 
==============================================
|              FRÉDÉRIC MASSOT               |
|     http://www.juliana-multimedia.com      |
|   mailto:[EMAIL PROTECTED]   |
===========================Debian=GNU/Linux===

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to