Thanks Falko!
I tried your suggestion:
$Conf{RsyncClientPath} = '/usr/bin/sudo /usr/bin/rsync';
and
$Conf{RsyncClientCmd} = ' $rsyncPath $argList+';
but now the backup aborted:
full backup started for directory /etc/ (baseline backup #685)
Running: /usr/bin/sudo\ /usr/bin/rsync --server
using these settings now:
$Conf{RsyncClientCmd} = '$rsyncPath $argList+';
$Conf{RsyncClientPath} = '/usr/bin/rsync';
and for visudo:
backuppc ALL= NOPASSWD: /usr/bin/rsync
Thanks all for supporting!
Am 06.02.2022 um 15:20 schrieb thveillon:
Le 05/02/2022 à 14:36, corona_24 a écrit :
Hello
Thanks.
# Require local
Works!
Am 02.02.2022 um 14:48 schrieb oetschi.ex...@bluewin.ch:
Hello George,
I had the same problem after installing backuppc 4.4.0. I could solve
it by changing the content of the file
/etc/apache2/conf-available/backuppc.conf
# Apache 2.4+
#
Hello,
I try to backup my local host.
I made these settings:
$Conf{RsyncClientCmd} = ' /usr/bin/sudo $rsyncPath $argList+';
and allow backuppc user to run rsync with sudo without password
(visudo):
backuppc ALL=NOPASSWD :/usr/bin/rsync
Anyway, I got the following errors:
incr backup started