Hello again,

Le 29/11/2020 à 16:08, David MENTRÉ a écrit :
Ont the client machine(s) run "rsync --version".  If you get 3.2.3 you probably have this issue. Full details and possible workarounds are given at https://github.com/backuppc/backuppc/issues/369

Indeed, I have rsync 3.2.3 on the target machine. Thank you for the issue ticket, I'll investigate with its information.

Thanks a lot! Adding option --no-msgs2stderr indeed fixes the issue.

However I only succeeded by modifying $Conf{RsyncClientCmd} and not with $Conf{RsyncArgsExtra} (where the option is not taken into account). What should be the correct syntax? Or is my current workaround OK?

Below my attempt:

"""
#
# ssh+rsync
#
$Conf{XferMethod} = 'rsync';
#$Conf{RsyncArgsExtra} = '--no-msgs2stderr'; # <-- does not work, not taken into account
#$Conf{RsyncArgsRestore} = '--no-msgs2stderr';

$Conf{BackupFilesOnly} = ['/home'];

$Conf{BackupFilesExclude} = [ '/home/david/.cache', '/home/david/00-poubelle', '/home/lost+found', '/home/david/.opam' ];

$Conf{RsyncClientCmd} = 'nice -n 19 $sshPath -q -x -l root $host nice -n 19 $rsyncPath --no-msgs2stderr $argList+';
"""

Best regards,
david


_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

Reply via email to