Steve,

I agree this is a problem area for upgrading to 4.0 and it's the one place
where some manual checking or updates may be necessary.

Unfortunately it's hard to automatically split up $Conf{RsyncClientCmd}
into $Conf{RsyncSshArgs} and $Conf{RsyncClientPath}.

Also, $Conf{RsyncClientPath} is now somewhat misnamed - it can be any
command including sudo, nice or caffeinate.  It should be the rest of the
old $Conf{RsyncClientCmd} after the original ssh arguments:

$Conf{RsyncClientPath} = '/usr/bin/sudo /usr/bin/caffeinate -ism
/usr/local/bin/rsync';


Craig

On Thu, Mar 23, 2017 at 7:08 AM, Steve Palm <[email protected]> wrote:

> Well, I have one host backing up, finally.... But I have to revisit the
> settings and see how to propagate them to the others in the right way.
>
> The essence, though, per my previous config, was that the RsyncSshPath was:
>         $sshPath -q -x -l backuppc -c arcfour
>
> The RsyncClientPath was: nice -n 19 sudo /usr/bin/rsync
>
> Yes, I should specify the path to nice, but also, yes, it is different on
> some different hosts. :(
>
> Just saying, I'd upvote an upgrade feature that didn't break the client
> configs. :) :)  But since they are numerous and multivariate, that probably
> isn't possible. Maybe at least mention in the upgrade notes that you
> probably are going to have to revisit all your client configurations
> because they are all changed. If it was there, I didn't see it.
>
> Don't want to sound like I'm complaining, just mentioning that it would be
> nice. I am very thankful for the upgrade, and now that I think I have a
> handle on how to reconfigure the hosts it will be interesting to see how
> performance has improved.
>
> Thanks,
>  Steve
>
>
> > On Mar 23, 2017, at 8:45 AM, Steve Palm <[email protected]> wrote:
> >
> > I'm seeing this on all the hosts so far, the first batch have all been
> Linux servers using an rsync backup method over ssh...
> >
> > My understanding of what the logs are telling me is that the connection
> closed. Maybe never really opened. I do see that my original ssh command
> configuration was lost during the upgrade, and looking at the config now I
> am not entirely sure how to put it back...
> >
> > My previous config used these:
> >
> > $Conf{RsyncClientCmd} = '$sshPath -q -x -l backuppc -c arcfour $host
> nice -n 19 sudo $rsyncPath $argList+';
> >
> > $Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l backuppc -c arcfour
> $host nice -n 19 sudo $rsyncPath $argList+';
> >
> > Not sure how to get those back into the new config.  Do they all go on
> one line on the RsyncSshArgs?  But clearly not all of them anymore, so what
> is still relevant?  Or do they go as separate items in that list?  I tried
> both, but they don't seem to work either.
> >
> > The problem is, I think, I haven't touched the old configs for so long I
> can't remember all of how that was even set up, and I'm not making the jump
> to align with the new changes.
> >
> > Suggestions?  Thanks!
> >
> > Steve
> >
> >
> > More information below, from the initial post-upgrade configs before I
> started trying to change RsyncSshArgs:
> >
> > LOG:
> > 2017-03-21 23:41:10 removing incr backup 2165
> > 2017-03-23 01:52:12 Created directory /mnt/stage/BackupPC/pc/
> miscnet/refCnt
> > 2017-03-23 01:52:13 Copying v3 backup #2172 to v4 #2173
> > 2017-03-23 02:58:25 BackupPC_refCountUpdate: doing fsck on misspent
> #2173 since there are no poolCnt files
> > 2017-03-23 03:00:43 BackupPC_refCountUpdate: host miscnet got 0 errors
> (took 138 secs)
> > 2017-03-23 03:00:43 BackupPC_backupDuplicate: got 0 errors and 0 file
> open errors
> > 2017-03-23 03:00:43 full backup started for directory /
> > 2017-03-23 03:00:44 Got fatal error during xfer (No files dumped for
> share /)
> > 2017-03-23 03:00:49 Backup aborted (No files dumped for share /)
> >
> > XferLog:
> > XferLOG file /mnt/stage/BackupPC/pc/miscnet/XferLOG.2173.z created
> 2017-03-23 01:52:13
> > Backup prep: type = full, case = 2, inPlace = 1, doDuplicate = 1,
> newBkupNum = 2173, newBkupIdx = 8, lastBkupNum = , lastBkupIdx =
> (FillCycle = 0, noFillCnt = 4)
> > Executing /usr/local/BackupPC/bin/BackupPC_backupDuplicate -h miscnet
> > Xfer PIDs are now 7131
> > Copying v3 backup #2172 to v4 #2173
> > Xfer PIDs are now 7131,7795
> > BackupPC_refCountUpdate: doing fsck on miscnet #2173 since there are no
> poolCnt files
> > BackupPC_refCountUpdate: host miscnet got 0 errors (took 138 secs)
> > Xfer PIDs are now 7131
> > BackupPC_backupDuplicate: got 0 errors and 0 file open errors
> > Finished BackupPC_backupDuplicate (running time: 4110 sec)
> > Running: /usr/local/bin/rsync_bpc --bpc-top-dir /mnt/stage/BackupPC
> --bpc-host-name miscnet --bpc-share-name / --bpc-bkup-num 2173
> --bpc-bkup-comp 1 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1
> --bpc-bkup-inode0 51267 --bpc-attrib-new --bpc-log-level 1 -e /usr/bin/ssh\
> -q\ -x\ -l\ backuppc --rsync-path=/usr/bin/rsync --super --recursive
> --protect-args --numeric-ids --perms --owner --group -D --times --links
> --hard-links --delete --partial --log-format=log:\ %o\ %i\ %B\ %8U,%8G\
> %9l\ %f%L --stats --checksum --one-file-system --iconv=utf8,utf8
> --exclude=/proc --exclude=/nfs miscnet.sga.org:/ /
> > full backup started for directory /
> > Xfer PIDs are now 7828
> > This is the rsync child about to exec /usr/local/bin/rsync_bpc
> > 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, 51267 inode
> > rsync error: unexplained error (code 255) at io.c(629) [Receiver=3.0.9.5]
> > rsync_bpc exited with fatal status 255 (65280) (rsync error: unexplained
> error (code 255) at io.c(629) [Receiver=3.0.9.5])
> > Xfer PIDs are now
> > Got fatal error during xfer (No files dumped for share /)
> > Backup aborted (No files dumped for share /)
> > BackupFailCleanup: nFilesTotal = 0, type = full, BackupCase = 2, inPlace
> = 1, lastBkupNum =
> > BackupFailCleanup: inPlace with no new files... no cleanup
> > Running BackupPC_refCountUpdate -h miscnet -f on miscnet
> > Xfer PIDs are now 7833
> > BackupPC_refCountUpdate: host miscnet got 0 errors (took 2 secs)
> > Xfer PIDs are now
> > Finished BackupPC_refCountUpdate (running time: 2 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/
>
>
> ------------------------------------------------------------
> ------------------
> 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/
>
------------------------------------------------------------------------------
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/

Reply via email to