Hello,
I have migrated from V3 to V4, and now my rsync backups are not working. I
have copied the latest log info below.
As you can see, I am trying to use rsync_bpc, but there is some kind of
permission problem. The permissions on the server look ok to me. The 3
'Permission denied' lines look as if they might be ssh permission problems.
The hostname (as far as backuppc is concerned) is jc, the host name (which
I can ping and ssh into) is jc-arch. The ClientNameAlias is set to jc-arch,
and in V3 backups have worked fine for a long while - a couple of years at
least. How can I find out the command that is causing the Permission denied
errors? I have tried copying the jc config to one called jc-arch, in case
the ClientNameAlias is not working, but I get exactly the same result.
Thank you for any assistance
XferLOG file /var/lib/backuppc/pc/jc/XferLOG.661.z created 2017-03-15
11:07:10
Backup prep: type = incr, case = 6, inPlace = 1, doDuplicate = 0,
newBkupNum = 661, newBkupIdx = 13, lastBkupNum = , lastBkupIdx =
(FillCycle = 0, noFillCnt = 6)
Running: /usr/share/backuppc/bin/rsync_bpc --bpc-top-dir /var/lib/backuppc
--bpc-host-name jc --bpc-share-name /home/jon --bpc-bkup-num 661
--bpc-bkup-comp 3 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1
--bpc-bkup-inode0 124144 --bpc-attrib-new --bpc-log-level 8
--rsync-path=/usr/bin/rsync --numeric-ids --perms --owner --group -D
--links --hard-links --times --block-size=2048 --recursive
--checksum-seed=32761 --one-file-system --exclude=.cache
--exclude=Downloads --exclude=tmp
--exclude=projects/oxpat/websites/ocs_backups/public_html
jc-arch:/home/jon/ /
incr backup started for directory /home/jon
Xfer PIDs are now 3994
This is the rsync child about to exec /usr/share/backuppc/bin/rsync_bpc
bpc_lib_conf_init: topDir = /var/lib/backuppc, logLevel = 8
bpc_path_create(/var/lib/backuppc/pc/jc/661)
bpc_attrib_backwardCompat: WriteOldStyleAttribFile = 0, KeepOldAttribFiles
= 0
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).
rsync_bpc: connection unexpectedly closed (0 bytes received so far)
[Receiver]
bpc_sysCall_cleanup: doneInit = 1
RefCnt Deltas for new backup
Uncompressed HT:
Compressed HT:
Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0
sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 124144 inode
Parsing done: nFilesTotal = 0
rsync error: error in rsync protocol data stream (code 12) at io.c(629)
[Receiver=3.0.9.5]
rsync_bpc exited with fatal status 12 (3072) (rsync error: error in rsync
protocol data stream (code 12) at io.c(629) [Receiver=3.0.9.5])
Xfer PIDs are now
Got fatal error during xfer (rsync error: error in rsync protocol data
stream (code 12) at io.c(629) [Receiver=3.0.9.5])
Backup aborted (rsync error: error in rsync protocol data stream (code 12)
at io.c(629) [Receiver=3.0.9.5])
BackupFailCleanup: nFilesTotal = 0, type = incr, BackupCase = 6, inPlace =
1, lastBkupNum =
BackupFailCleanup: inPlace with no new files... no cleanup
Running BackupPC_refCountUpdate -h jc -f on jc
Xfer PIDs are now 4002
BackupPC_refCountUpdate: host jc #661: gotFsck = 1, gotDelta = , gotPoolCnt
= 1, gotNoPoolCntOk =
BackupPC_refCountUpdate: processing host jc #661 (fsck = 1)
BackupPC_refCountUpdate: processing host jc #661 deltaFile
/var/lib/backuppc/pc/jc/661/refCnt/poolCntDelta_1_0_0_4002 with 86385
entries
BackupPC_refCountUpdate: computing totals for host jc
BackupPC_refCountUpdate: host jc got 0 errors (took 374 secs)
BackupPC_refCountUpdate total errors: 0
Xfer PIDs are now
Finished BackupPC_refCountUpdate (running time: 377 sec)
Xfer PIDs are now
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/