Hi Elias,
I usually copy backuppc user ssh key into the target machine, and run rsync as root.
$sshPath -q -x -l root $host ….
I don’t hit permission issues that way.
I hope this answer helps.
Have a nice day
-------------------------
Ali Kalamchi,
Senior Technical Sales Engineer,
Communicate without boundaries
Talia Deutschland GmbH
Mitterweg 36
82399 Raisting
Germany
T: +49 (0)8807 3692223
F: +49 (0)8807 2140036
E:
ali.kalamchi AT talia DOT net
www.talia.net
From: Elias Pereira [mailto:empbilly AT gmail DOT com]
Sent: Wednesday, February 17, 2016 7:52 PM
To: backuppc-users AT lists.sourceforge DOT net
Subject: [BackupPC-users] failed: Permission denied
In a debian distro I configured a server with backuppc following
this tutorial. When I put the "sudo" before the /usr/bin/rsync does not work and the error "fileListReceive failed" occurs . Without the "sudo" is apparently performing the "backup", but some folders are giving permission error.
I used the user "rbackup" on the client. I need to give other permissions for it, besides having set the "sudo"?
full backup started for directory /etc/bind (baseline backup #15)
Running: /usr/bin/ssh -q -x -l rbackup 192.168.1.5 nice -n 19 /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --ignore-times . /etc/bind/
Xfer PIDs are now 2703
Got remote protocol 30
Negotiated protocol version 28
Remote[1]: rsync: opendir "/etc/bind/master" failed: Permission denied (13)
--