For the ping issue you could try something like:
$Conf{PingPath} = '/usr/bin/nc'
$Conf{PingCmd} = '$pingPath -w 1 -z $host 22'

Robert Trevellyan


On Sun, Jan 22, 2023 at 9:55 AM Samual Flossie <fw664...@gmail.com> wrote:

> I have several new mac's to add to the backups and have not been able to
> get them backing up.  Prefer to use rsync.
> This is existing backuppc 4.4.0 that has been running for a year+ and
> successfully works with linux and windows boxes.
>
> I can ssh successfully from backuppc server. ssh -l username clientip
> I set RsyncSshArgs to include $sshPath -l username for that clientIP and
> the scope of the backup is that user's files.
>
> XferMethod is rsync.
> I tried using the existing mac rsync (/usr/bin/rsync) but
> get errors in the log:
>
> bpc_attrib_backwardCompat: WriteOldStyleAttribFile = 0, KeepOldAttribFiles = 0
> 2023-01-22 09:40:17 full backup started for directory /Users/username
> 2023-01-22 09:40:19 Got fatal error during xfer (rsync error: error in rsync 
> protocol data stream (code 12) at io.c(226) [Receiver=3.1.3.0])
> 2023-01-22 09:40:24 Backup aborted (rsync error: error in rsync protocol data 
> stream (code 12) at io.c(226) [Receiver=3.1.3.0])
> 2023-01-22 09:40:24 Removing empty backup #0
> 2023-01-22 09:40:24 BackupPC_backupDelete: removing #0
> 2023-01-22 09:40:24 BackupPC_backupDelete: No prior backup for merge
> 2023-01-22 09:40:24 BackupPC_refCountUpdate: computing totals for host 
> theClientIP
> 2023-01-22 09:40:24 BackupPC_refCountUpdate: host theClientIP got 0 errors 
> (took 0 secs)
> 2023-01-22 09:40:24 BackupPC_refCountUpdate total errors: 0
> 2023-01-22 09:40:24 BackupPC_backupDelete: got 0 errors
> 2023-01-22 09:40:24 Finished BackupPC_backupDelete, status = 0 (running time: 
> 0 sec)
>
> Maybe I've got a flag wrong in RsyncSshArgs or RsyncArgs or the other Full 
> and Inc variables.  No overrides.
>
>
> Some googling and saw concerns that rsync version may have compatibility
> issues. Currently installed /usr/bin/rsync version 2.6.9 protocol version
> 29.
>
> I installed updated rsync via brew on one the mac and now
> have /opt/homebrew/Cellar/rsync/3.2.7/bin/rsync. I set RsyncClientPath
> to /opt/homebrew/Cellar/rsync/3.2.7/bin/rsync and tried again and see same
> error.
>
> 2023-01-22 09:17:45 Got fatal error during xfer (rsync error: error in rsync 
> protocol data stream (code 12) at io.c(226) [Receiver=3.1.3.0])
> 2023-01-22 09:17:50 Backup aborted (rsync error: error in rsync protocol data 
> stream (code 12) at io.c(226) [Receiver=3.1.3.0]
>
>
> Since ping is disabled by default on ventura, I alleviate that check by 
> override $PingCmd to $pingPath -c 1 127.0.0.1. If you have suggestion on 
> better way to verify mac is online in an office environment, please share.
>
> Sammy
>
> _______________________________________________
> 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/
>
_______________________________________________
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