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 back to 2022-01-29 01:00:01 (backup #677) for directory 
/etc/
Running: /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group 
-D --links --hard-links --times --block-size=2048 --recursive . /etc/
Xfer PIDs are now 21378
Got remote protocol 31
Negotiated protocol version 28
Remote[1]: rsync: opendir "/etc/polkit-1/localauthority" failed: Permission 
denied (13)
Remote[1]: rsync: opendir "/etc/multipath" failed: Permission denied (13)
...(list is actually longer)

It seems, everything what can only accessed by root, failed by backup:
drwx------   7 root root  4096 Dez  4  2016 localauthority/

Which settings are missing?

_______________________________________________
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