Hi all,

I've tried looking in a couple of places, but I can't find the answer to this.

I have essentially used this webpage to install and configure backuppc 4.1.5 on 
Ubuntu 16.04 LTS - 
https://github.com/backuppc/backuppc/wiki/Installing-BackupPC-4-from-git-on-Ubuntu-Xenial-16.04-LTS

I then tried to create an rsync backup to a SUSE server using 
https://www.howtoforge.com/linux_backuppc_p4  and various other sources.

When I try to run the backup it fails with 'No files dumped for share 
/data/rtgrid/'

When I run the line from the XferLOG:
/usr/local/bin/rsync_bpc --bpc-top-dir /data/backuppc --bpc-host-name 
rtgridserver --bpc-share-name /data/rtgrid/ --bpc-bkup-num 0 --bpc-bkup-comp 3 
--bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 --bpc-bkup-inode0 2 
--bpc-attrib-new --bpc-log-level 1 -e /usr/bin/ssh\ -l\ root 
--rsync-path=/usr/bin/sudo\ /usr/bin/rsync --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 --checksum --timeout=72000 --exclude=var/experiment 
--exclude=junkdrawer --exclude=scratchpad --exclude=tmp 
xxx.xxx.xxx.xxx:/data/rtgrid/

As root, it runs.

However, I get the error message (tagged at the bottom for readability) when 
backuppc runs the job.  I'm probably making things more confusing than they 
should be, but I think the install webpage creates a shell-less service 
backuppc user.  I then can't su to backuppc to run the line to test it.

Has anyone else used this kind of account on backuppc?  Can anyone suggest a 
fix for this?

Thanks in advance,
Philip Parsons




Contents of file /data/backuppc/pc/rtgridserver/XferLOG.bad.z, modified 
2018-02-07 06:00:06

XferLOG file /data/backuppc/pc/rtgridserver/XferLOG.0.z created 2018-02-07 
06:00:00

Backup prep: type = full, case = 1, inPlace = 1, doDuplicate = 0, newBkupNum = 
0, newBkupIdx = 0, lastBkupNum = , lastBkupIdx =  (FillCycle = 0, noFillCnt = )

Running: /usr/local/bin/rsync_bpc --bpc-top-dir /data/backuppc --bpc-host-name 
rtgridserver --bpc-share-name /data/rtgrid/ --bpc-bkup-num 0 --bpc-bkup-comp 3 
--bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 --bpc-bkup-inode0 2 
--bpc-attrib-new --bpc-log-level 1 -e /usr/bin/ssh\ -l\ root 
--rsync-path=/usr/bin/sudo\ /usr/bin/rsync --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 --checksum --timeout=72000 --exclude=var/experiment 
--exclude=junkdrawer --exclude=scratchpad --exclude=tmp 
xxx.xxx.xxx.xxx:/data/rtgrid/ /

full backup started for directory /data/rtgrid/

Xfer PIDs are now 111286

This is the rsync child about to exec /usr/local/bin/rsync_bpc

Permission denied (publickey,keyboard-interactive).

rsync_bpc: connection unexpectedly closed (0 bytes received so far) [Receiver]

Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 
sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 2 inode

rsync error: unexplained error (code 255) at io.c(629) [Receiver=3.0.9.11]

rsync_bpc exited with fatal status 255 (65280) (rsync error: unexplained error 
(code 255) at io.c(629) [Receiver=3.0.9.11])

Xfer PIDs are now

Got fatal error during xfer (No files dumped for share /data/rtgrid/)

Backup aborted (No files dumped for share /data/rtgrid/)

BackupFailCleanup: nFilesTotal = 0, type = full, BackupCase = 1, inPlace = 1, 
lastBkupNum =

Removing empty backup #0

Xfer PIDs are now 111317

BackupPC_backupDelete: removing #0

BackupPC_backupDelete: No prior backup for merge

Xfer PIDs are now 111317,111318

BackupPC_refCountUpdate: host rtgridserver got 0 errors (took 0 secs)

Xfer PIDs are now 111317

Xfer PIDs are now

Finished BackupPC_backupDelete, status = 0 (running time: 0 sec)

Xfer PIDs are now

Running BackupPC_refCountUpdate -h rtgridserver -f on rtgridserver

Xfer PIDs are now 111319

BackupPC_refCountUpdate: host rtgridserver got 0 errors (took 0 secs)

Xfer PIDs are now

Finished BackupPC_refCountUpdate (running time: 0 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
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to