I just built my own rsync-bpc and this version (Both report the same
output from --version: rsync_bpc version 3.1.3.0 protocol version 31)
gives some more useful output when running my simple test:
sync_bpc: BackupPC options are compulsory for running rsync_bpc
Which explains why my test failed, though not the regular usage.
I reloaded the daemon, which maybe helped. It seems that
/usr/share/backuppc/bin/BackupPC_refCountUpdate might be hanging on every
host? (they do have the -f option, I think that is because I still have
V3 backups hanging around, waiting to be replaced by newer backups through
the regular backup cycle?
I killed one of the processes manually (stop/dequeue from the CGI didn't
do anything), and I now have one backup progressing normally (localhost,
other ones seem to still be failing)
I looked up the io.c error, and that is in whine_about_eof() which doesn't
seem to help much. Do I need rsync-bpc installed on each backup client as
well?
On Thu, 7 Apr 2022, Jon Daley via BackupPC-users wrote:
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]
So, I think that proves that it is rsync-bpc that is causing trouble, as
`rsync -a Downloads d` works perfectly fine.
If that isn't a valid test, here are some config options. Any ideas what
could be going wrong?
RsyncArgs is set to:
'--super',
'--recursive',
'--protect-args',
'--numeric-ids',
'--perms',
'--owner',
'--group',
'-D',
'--times',
'--links',
'--hard-links',
'--delete',
'--delete-excluded',
'--one-file-system',
'--partial',
'--log-format=log: %o %i %B %8U,%8G %9l %f%L',
'--stats',
'--bwlimit=1024'
$Conf{RsyncArgsExtra} = [];
$Conf{RsyncFullArgsExtra} = ['--checksum'];
$Conf{RsyncIncrArgsExtra} = [];
--
Jon Daley
https://jon.limedaley.com
~~
Become a fixer, not just a fixture.
-- Anthony D'Angelo
_______________________________________________
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/