Wolfgang Karall writes:
> I'm trying to back up several notebooks in an environment where they are
> sometimes connected via wired LAN, sometimes via WLAN, both times with
> fixed IP addresses, no DHCP, different subnets for LAN and WLAN. I have
> a DNS server available (if that helps in my situation), and it's really
> no problem if the backup takes longer when using WLAN.
>
> Reading the docs $Conf{ClientNameAlias} doesn't seem to be the right
> route to go (correct me if I'm wrong), since that allows multiple
> backuppc-internal hosts for the same DNS hostname or address.
>
> I even tried to use round-robin DNS for the names I put into the hosts
> file (not the perfect solution, but I'm just trying to get it to work
> somehow atm), but that didn't work out, gethostbyname called via perl's
> -e switch did return alternating results for the IP address, but
> backuppc always tried to ping the same address (checked with tcpdump
> while trying to initiate a couple of backups from the web interface).
>
> Maybe I'm blind and it's dead easy to do, so could someone please give
> me a shove in the right direction?
It's not that easy when the host name changes.
The easiest way is use netbios names. That's built-in to WinXX and
can be support on linux usign nmbd from samba. So long as your
notebook responds to nmblookup multicasts with a name/ipaddress
that BackupPC recognizes, then it should work correctly for various
IP addressess.
By the way, I only use WLAN for my laptop backups using BackupPC/rsync.
It works very nicely.
Craig
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/