Doug,

Thanks for the logs.  Yes, it's a bug in the code that builds the rsync_bpc
command.  It uses the hostName, instead of the hostIP (they are the same in
the non-nmblookup case).

There are four places in lib/BackupPC/Xfer/Rsync.pm where you should
replace "{host}" with "{hostIP}".  I just pushed the change to git; you can
see the diffs here
<https://github.com/backuppc/backuppc/commit/0104828ae16fbd9b1be52473e42a4b4c236e0d5f>
.

It would be great if you could make these changes (either manually edit,
apply the diff, or re-install from git) and re-test.

Thanks,
Craig



On Wed, Mar 15, 2017 at 4:55 AM, Doug Lytle <[email protected]> wrote:

>
> >>> On Mar 14, 2017, at 7:40 PM, Craig Barratt
> [email protected] wrote:
>
> >>> Can you manually run BackupPC_dump on that host (as the BackupPC user)
> with the -v option?
>
> >>> What was the behavior in 3.x? Was jk4679 resolved to an ipv4 address
> via nmblookup?
>
> Yes, it would resolve to an ipv4
>
> The results for running BackupPC_dump as the backuppc user
>
> Failed:
>
> http://pastebin.com/j8swGMPV
>
> After adding user to the /etc/hosts
>
> Success:
>
> http://pastebin.com/TT55ZGMs
>
> Just as a note, backuppc was originally installed via apt, I didn't have
> time to figure out my apache setup again so just did the over-the-top
> install BackupPC 4.0 with some minor changes to file locations, init
> scripts.  If this proves to make a difference, I'll have to review it over
> the weekend.  For us, this server is only for catastrophic recovery only
> and I can start from scratch if need be.
>
> Doug
>
> ------------------------------------------------------------
> ------------------
> 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