Sorry, I was trying to get the email out this morning before heading to
work, could have provided more details but hoped it was something simple
someone ran into before...

On Fri, Feb 28, 2020 at 7:23 AM Systems <syst...@broadband9.com> wrote:

> What type of backup are you requesting? Rsyn/smb ?
>

rsync



> What about permissions to execute Rsync in the visudo file?
>

I only have one host that's exposed to the internet where I don't allow ssh
login as root so I don't worry about sudo, I just do all backups as root
(except the one). In either case, that would stop the backup from working
from the command line as well, and would probably produce an error log.


I know the process runs as the backuppc user, This is rsync setting in main
> configurations:
>
> RsyncBackupPCPath: /usr/local/bin/rsync_bpc
>
> RsyncClientPath: sudo /usr/bin/rsync
>
> Then I've gone into visduo and entered the following to allow sudo access
> to the rsync command:
>
> backuppc ALL=NOPASSWD:/bin/gtar,/bin/tar,/usr/local/bin/rsync_bpc
>
> Maybe that helps?
> However, I'm in a centos 7 environment.
>

The RPM package I maintain takes care of the binaries as rsync_bpc is in
Fedora EPEL for RHEL and derivatives

Thanks,
Richard
_______________________________________________
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