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,
[cid:image001.png@01D07862.D24D6500]
Communicate without boundaries

Talia Deutschland GmbH
Mitterweg 36
82399 Raisting
Germany

T:  +49 (0)8807 3692223
F: +49 (0)8807 2140036
E: ali.kalam...@talia.net<mailto:ali.kalam...@talia.net>
www.talia.net<http://www.talia.net/>

From: Elias Pereira [mailto:empbi...@gmail.com]
Sent: Wednesday, February 17, 2016 7:52 PM
To: backuppc-users@lists.sourceforge.net
Subject: [BackupPC-users] failed: Permission denied

Hello guys,

In a debian distro I configured a server with backuppc following this 
tutorial<http://blog.bytetouch.com/linux/how-to-backup-linux-host-over-rsync-and-ssh-with-backuppc/>.
 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"?

 Error message:
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)

--
Elias Pereira
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
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