Hi Craig,

First off, thank you for the excellent BackupPC software.
I've been a (personal) user of the software for a few years already  
and really like it.

Recentely I've deployed a new instance at my dad's home and I've used  
the latest 4.0.0alpha3. At my place, I'm still running v3.x, so I  
never ran into this issue.

BackupPC runs on a Linux machine and I'm trying to backup a Windows  
laptop, which is running CygWin with SSH & Rsyncd on a DHCP IP-address.
As such, I'm using nmblookup to figure out the HostIP that belongs to  
the Host.

I've noticed however (in the bad XferLOG), that when rsync_bpc is  
started, it is provided with the 'host' variable to connect to,  
whereas it should of course connect to the 'hostIP'.

I did some searching in the settings and afterwards turned to the Perl  
code and have fixed my issue in the lib/BackupPC/Xfer/Rsync.pm file.
I'm not much of a programmer, but below is the output of a diff  
between the original source and my changes (in folder  
BackupPC-4.0.0alpha3/lib/BackupPC/Xfer):


# diff Rsync.pm Rsync.pm-new
147c147
<                     "$conf->{RsyncdUserName}\@$t->{host}::$remoteDir");
---
>                     "$conf->{RsyncdUserName}\@$t->{hostIP}::$remoteDir");
370c370
<                     "$conf->{RsyncdUserName}\@$t->{host}::$shareName",
---
>                     "$conf->{RsyncdUserName}\@$t->{hostIP}::$shareName",


I hope this provides you with the necessary information to fix the  
issue in your source code?

Regards,
Steven


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
BackupPC-devel mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to