Jon Daley via BackupPC-users wrote at about 03:57:19 -0400 on Thursday, April 
7, 2022:
 > I recently upgraded backuppc to V4 and the bcp version of rsync, and I 
 > can't get anything to work.  The migration to V4 seems to have gone well - 
 > it took 2-3 days to run through all of the hosts (15 hosts with 105 
 > backups)
 > 
 > All backups get an error like this:
 > 2022-04-07 03:02:37 incr backup started for directory /home
 > 2022-04-07 03:02:39 Got fatal error during xfer (rsync error: error in rsync 
 > protocol data stream (code 12) at io.c(226) [Receiver=3.1.3.0])
 > 2022-04-07 03:02:44 Backup aborted (rsync error: error in rsync protocol 
 > data stream (code 12) at io.c(226) [Receiver=3.1.3.0])
 > 
 > 
 > I tried just running the bpc tool on its own and got:
 > 
 > ~>/usr/libexec/backuppc-rsync/rsync_bpc -a Downloads d 
 > rsync error: syntax or usage error (code 1) at options.c(1882) 
 > [client=3.1.3.0]
 > 
That is normal as rsync_bpc (obviously) does not take the same options
as rsync and is not meant to be run standalone from the command line.

It requires a number of options which are pulled in from the config
file or from each host's backuppc history...

> So, I think that proves that it is rsync-bpc that is causing
> trouble, as `rsync -a Downloads d` works perfectly fine.

Nope. Just proves you don't know how rsync_bpc works...


I would try running from the command line:
  BackupPC_dump -vvv -f <client>
And see where it fails...



_______________________________________________
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