BackupPC-users

Re: [BackupPC-users] Name server problems in hosts or config.pl

2012-12-14 03:08:12
Subject: Re: [BackupPC-users] Name server problems in hosts or config.pl
From: Matthias Meyer <matthias.meyer AT gmx DOT li>
To: backuppc-users AT lists.sourceforge DOT net
Date: Fri, 14 Dec 2012 09:05:52 +0100
Bruce Thayre wrote:

> Hi Matthias,
>    Ah I see, I guess I shouldn't mix bash notation when asking about a
> command I run in a shell.  So what you recommend is exactly what I've
> been doing.  Assume my router is MyRouter.domain, and the client behind
> the router is MyClient.  In MyClient's respective config file I have:
> $Conf{ClientNameAlias} = 'MyRouter.domain';
> 
>    When I run the command:
> 
>     sudo -u backuppc /usr/share/BackupPC/bin/BackupPC_dump -f -v MyClient
> 
>    I get the output:
> 
>     Name server doesn't know about MyClient; trying NetBios
>     cmdSystemOrEval: about to system /usr/bin/nmblookup MyClient
>     cmdSystemOrEval: finished: got output querying MyClient on
>     111.222.111.222 name_query failed to find name MyClient
> 
>     NetBiosHostIPFind: couldn't find IP address for host MyClient
>     host not found
> 
>    So what's going on is despite having the ClientNameAlias set,
> backuppc assumes the hostname is a netbios name.  Strangely enough the
> ip address that it dumps out is on my subnet, but is not actually in
> use.  I've set the backup method as rsyncd, so I would think backuppc
> would not use any netbios/samba related stuff. I've also tried using my
> router's ip address just in case I was having DNS problems, but I see
> the exact same behavior.  Sorry for the confusion, and thanks for the
> patience.
> Thanks,
> Bruce

Did you try:
$ ping MyClient
what is the output?
-- 
Don't Panic


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/