I have to redo an offsite backup server running since 2015. The OS disk died.

I am fine with just making new backups, what I really do not have time for is reinventing the client backup configs.

Can anyone help me?

I found https://github.com/backuppc/backuppc/issues/132 , so I know I am not alone.

The server is f29 now and I installed BackupPC-4.3 rpm.

I have a very simple one directory backup that I can share. Below boxXYZ.pl ran fine a week ago, before the OS disk died. The offsite backup server is backing up two windows 10 boxes which where configured with much pain and anguish. I hate windows. Like I said I am remote and can not reconfigure the windows desktops, I can only make the linux work. If push comes to shove I will remove the rpm and try a tar ball install of the older software .. but I really hope it does not come to that.


::= cat boxXYZ.pl
$Conf{XferMethod} = 'rsync';
$Conf{RsyncClientCmd} = '$sshPath -q -x -l UserOne $host $rsyncPath $argList+';

$Conf{FullKeepCnt} = [
  10
];
$Conf{IncrKeepCnt} = 14;

$Conf{BackupFilesOnly} = {
  '*' => [
    '/cygdrive/c/userOneprogs/CalenderScope2.6/Data'
  ]
};

$Conf{XferLogLevel} = 2;

I tried

/usr/share/BackupPC/bin/BackupPC_dump -v -f  boxXYZ

with

$Conf{RsyncBackupPCPath} = "/usr/bin/rsync_bpc";

$Conf{XferMethod} = 'rsync';

$Conf{RsyncClientPath} = "sudo /usr/bin/rsync";
$Conf{RsyncSshArgs} = ['-e', '$sshPath -q -x -l UserOne $host $rsyncPath $argList+'];

$Conf{FullKeepCnt} = [
  10
];
$Conf{IncrKeepCnt} = 14;

$Conf{BackupFilesOnly} = {
  '*' => [
    '/cygdrive/c/userOneprogs/CalenderScope2.6/Data'
  ]
};

$Conf{XferLogLevel} = 2;

and the output  is attached.

I did some sanitizing .. if things look squirrely.

Please and Thank you









Backup type: type = full, needs_full = 1, needs_incr = 1, lastFullTime = 0, 
opts{f} = 1, opts{i} = , opts{F} = 
cmdSystemOrEval: about to system /usr/local/bin/connect_port_test.pl boxXYZ 22
cmdSystemOrEval: about to system /usr/local/bin/connect_port_test.pl boxXYZ 22
CheckHostAlive: can't extract round-trip time (not fatal)
CheckHostAlive: ran '/usr/local/bin/connect_port_test.pl boxXYZ 22'; returning 0
XferLOG file /var/lib/BackupPC//pc/UserOne/XferLOG.0.z created 2020-02-17 
19:17:16 
Backup prep: type = full, case = 1, inPlace = 1, doDuplicate = 0, newBkupNum = 
0, newBkupIdx = 0, lastBkupNum = , lastBkupIdx =  (FillCycle = , noFillCnt = )
__bpc_progress_state__ backup share "/"
Running: /usr/bin/rsync_bpc --bpc-top-dir /var/lib/BackupPC/ --bpc-host-name 
UserOne --bpc-share-name / --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 2 -e /usr/bin/ssh\ -q\ -x\ -l\ UserOne\ 
UserOne\ \$\{rsyncPath\}\ \$\{argList\}+ --rsync-path=sudo\ /usr/bin/rsync 
--numeric-ids --perms --owner --group -D --links --hard-links --times 
--block-size=2048 --recursive  --timeout=72000 --include=/cygdrive 
--include=/cygdrive/c --include=/cygdrive/c/userOneprogs 
--include=/cygdrive/c/userOneprogs/CalenderScope2.6 
--include=/cygdrive/c/userOneprogs/CalenderScope2.6/Data --exclude=/\* 
--exclude=/cygdrive/\* --exclude=/cygdrive/c/\* 
--exclude=/cygdrive/c/userOneprogs/\* 
--exclude=/cygdrive/c/userOneprogs/CalenderScope2.6/\* UserOne:/ /
full backup started for directory /
started full dump, share=/
Xfer PIDs are now 3503
xferPids 3503
This is the rsync child about to exec /usr/bin/rsync_bpc
cmdExecOrEval: about to exec /usr/bin/rsync_bpc --bpc-top-dir 
/var/lib/BackupPC/ --bpc-host-name UserOne --bpc-share-name / --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 2 -e /usr/bin/ssh\ -q\ -x\ 
-l\ UserOne\ UserOne\ \$\{rsyncPath\}\ \$\{argList\}+ --rsync-path=sudo\ 
/usr/bin/rsync --numeric-ids --perms --owner --group -D --links --hard-links 
--times --block-size=2048 --recursive  --timeout=72000 --include=/cygdrive 
--include=/cygdrive/c --include=/cygdrive/c/userOneprogs 
--include=/cygdrive/c/userOneprogs/CalenderScope2.6 
--include=/cygdrive/c/userOneprogs/CalenderScope2.6/Data --exclude=/\* 
--exclude=/cygdrive/\* --exclude=/cygdrive/c/\* 
--exclude=/cygdrive/c/userOneprogs/\* 
--exclude=/cygdrive/c/userOneprogs/CalenderScope2.6/\* UserOne:/ /
bpc_attrib_backwardCompat: WriteOldStyleAttribFile = 0, KeepOldAttribFiles = 0
Unexpected remote arg: UserOne:/
Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 
sizeTotal, 0 filesNew, 0 sizeNew, 0 sizeNewComp, 2 inode
rsync error: syntax or usage error (code 1) at main.c(1348) [sender=3.1.2.0]
rsync_bpc exited with fatal status 1 (256) (rsync error: syntax or usage error 
(code 1) at main.c(1348) [sender=3.1.2.0])
Xfer PIDs are now 
xferPids 
Got fatal error during xfer (No files dumped for share /)
cmdSystemOrEval: about to system /usr/local/bin/connect_port_test.pl boxXYZ 22
cmdSystemOrEval: about to system /usr/local/bin/connect_port_test.pl boxXYZ 22
CheckHostAlive: can't extract round-trip time (not fatal)
CheckHostAlive: ran '/usr/local/bin/connect_port_test.pl boxXYZ 22'; returning 0
Backup aborted (No files dumped for share /)
__bpc_progress_state__ fail cleanup
BackupFailCleanup: nFilesTotal = 0, type = full, BackupCase = 1, inPlace = 1, 
lastBkupNum = 
Removing empty backup #0
__bpc_progress_state__ delete #0
cmdSystemOrEval: about to system /usr/share/BackupPC/bin/BackupPC_backupDelete 
-h UserOne -n 0 -l
Xfer PIDs are now 3506
xferPids 3506
BackupPC_backupDelete: removing #0
__bpc_progress_state__ delete #0
BackupPC_backupDelete: No prior backup for merge
Xfer PIDs are now 3506,3507
xferPids 3506,3507
BackupPC_refCountUpdate: computing totals for host UserOne
__bpc_progress_state__ sumUpdate
__bpc_progress_fileCnt__ 0/128
__bpc_progress_fileCnt__ 8/128
__bpc_progress_fileCnt__ 16/128
__bpc_progress_fileCnt__ 24/128
__bpc_progress_fileCnt__ 32/128
__bpc_progress_fileCnt__ 40/128
__bpc_progress_fileCnt__ 48/128
__bpc_progress_fileCnt__ 56/128
__bpc_progress_fileCnt__ 64/128
__bpc_progress_fileCnt__ 72/128
__bpc_progress_fileCnt__ 80/128
__bpc_progress_fileCnt__ 88/128
__bpc_progress_fileCnt__ 96/128
__bpc_progress_fileCnt__ 104/128
__bpc_progress_fileCnt__ 112/128
__bpc_progress_fileCnt__ 120/128
__bpc_progress_state__ rename total
BackupPC_refCountUpdate: host UserOne got 0 errors (took 0 secs)
BackupPC_refCountUpdate total errors: 0
Xfer PIDs are now 3506
xferPids 3506
BackupPC_backupDelete: got 0 errors
Xfer PIDs are now 
xferPids 
Finished BackupPC_backupDelete, status = 0 (running time: 0 sec)
Xfer PIDs are now 
xferPids 
__bpc_progress_state__ fsck
Running BackupPC_refCountUpdate -h UserOne -f on UserOne
cmdSystemOrEval: about to system 
/usr/share/BackupPC/bin/BackupPC_refCountUpdate -h UserOne -f
Xfer PIDs are now 3508
xferPids 3508
BackupPC_refCountUpdate: computing totals for host UserOne
__bpc_progress_state__ sumUpdate
__bpc_progress_fileCnt__ 0/128
__bpc_progress_fileCnt__ 8/128
__bpc_progress_fileCnt__ 16/128
__bpc_progress_fileCnt__ 24/128
__bpc_progress_fileCnt__ 32/128
__bpc_progress_fileCnt__ 40/128
__bpc_progress_fileCnt__ 48/128
__bpc_progress_fileCnt__ 56/128
__bpc_progress_fileCnt__ 64/128
__bpc_progress_fileCnt__ 72/128
__bpc_progress_fileCnt__ 80/128
__bpc_progress_fileCnt__ 88/128
__bpc_progress_fileCnt__ 96/128
__bpc_progress_fileCnt__ 104/128
__bpc_progress_fileCnt__ 112/128
__bpc_progress_fileCnt__ 120/128
__bpc_progress_state__ rename total
BackupPC_refCountUpdate: host UserOne got 0 errors (took 0 secs)
BackupPC_refCountUpdate total errors: 0
Xfer PIDs are now 
xferPids 
Finished BackupPC_refCountUpdate (running time: 1 sec)
Xfer PIDs are now 
xferPids 
dump failed: No files dumped for share /
_______________________________________________
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