Re: [BackupPC-users] BackupPC 4.4.0 on Linux - sudo / rsync possible?

2025-05-06 Thread Michael Vincent via BackupPC-users
Very nice tip Kim, thank you also. :-) Sent with Proton Mail secure email. On Tuesday, May 6th, 2025 at 1:06 PM, Kim Scarborough wrote: > > Also you need to SSH from the backuppc server (using the backuppc user) > > to each client once manually to populate authorized_keys. > > > Just a q

Re: [BackupPC-users] BackupPC 4.4.0 on Linux - sudo / rsync possible?

2025-05-06 Thread Michael Vincent via BackupPC-users
Jamie, you're a gentle man and a scholar! Thank you, thank you. Works wonderfully. On Tuesday, May 6th, 2025 at 11:00 AM, Jamie Burchell wrote: > Relevant rsync config (note use of sudo): > > $Conf{RsyncClientPath} = 'sudo /usr/bin/rsync'; > > $Conf{RsyncBackupPCPath} = '/usr/bin/rsync_bpc'; >

Re: [BackupPC-users] BackupPC 4.4.0 on Linux - sudo / rsync possible?

2025-05-06 Thread Kim Scarborough
Also you need to SSH from the backuppc server (using the backuppc user) to each client once manually to populate authorized_keys. Just a quick note: you can avoid the need to do this by setting this in backuppc's .ssh/config: Host * StrictHostKeyChecking accept-new With that setting,

Re: [BackupPC-users] BackupPC 4.4.0 on Linux - sudo / rsync possible?

2025-05-06 Thread Jamie Burchell via BackupPC-users
Relevant rsync config (note use of sudo): $Conf{RsyncClientPath} = 'sudo /usr/bin/rsync'; $Conf{RsyncBackupPCPath} = '/usr/bin/rsync_bpc'; $Conf{RsyncSshArgs} = [ '-e', '$sshPath -l backuppc' ]; $Conf{RsyncArgs} = [ '--super', '--recursive', '--protect-args', '--numeric-ids

[BackupPC-users] BackupPC 4.4.0 on Linux - sudo / rsync possible?

2025-05-06 Thread Michael Vincent via BackupPC-users
I see references in the documentation on the ability to backup via rsync combined with sudo but have been unable to make it work. Would anyone that has it working with BackupPC 4.4.0 mind sending their /etc/BackupPC/pc/servername.example.com.pl file please? I have BackupPC 4 installed via RPM o

[BackupPC-users] how to reduce logging of rsync_bpc in XferLOG

2025-05-06 Thread Matthias--- via BackupPC-users
Hello, Sometimes backing up a share produce a lot of logging messages in the XferLOG. Can I disable that? Running: /usr/libexec/backuppc-rsync/rsync_bpc --bpc-top-dir /var/lib/backuppc --bpc-host-name athlux --bpc-share-name root --bpc-bkup-num 4342 --bpc-bkup-comp 0 --bpc-bkup-prevnum 4