Niranjan Ghate writes:
> I am not sure why but nmblookup seems to be failing through the backuppc scripts. Here's the error
> message I get
> "npghate-linux is a DHCP host, and I don't know its IP address. I checked the netbios name of
> 10.2.42.129, and found that that machine is not npghate-linux. ..."
> If I try the command at the shell it succeeds
> [backuppc]$ nmblookup npghate-linux
> querying npghate-linux on 10.2.42.255
> 10.2.42.129 npghate-linux<00>
The CGI script does a reverse lookup, and I would guess this is failing:
nmblookup -A 10.2.42.129
Since the forward lookup works, I'd recommend setting dhcp to 0 for
> Is there any way to start backuppc in debug mode so that it logs all
> the system commands it executes ? I would like to figure out what is
> causing this failure.
To see the commands BackupPC_dump runs, use the -v option. Eg: to
manually run a dump and see the debug output:
/usr/local/BackupPC/bin/BackupPC_dump -v -f npghate-linux
You might want to hit ^C after it looks like everything started
correctly. Note that it is not recommended to normally run backups
this way since BackupPC could schedule and run BackupPC_dump for
the same machine as your manual command; it doesn't know the manual
command is running.
Get latest updates about Open Source Projects, Conferences and News.