I took a closer look at the perl code and I see the cause of the problem. Please note I have no DNS. My PCs use DHCP, but are configured in BackupPC with the host table's DHCP flag set to zero.
Here is what I think is happening: 1. BackupPC_dump is called periodically at each WakeupSchedule interval. 2. BackupPC_dump calls NetBiosHostIPFind which uses NmbLookupFindHostCmd to lookup my hosts' Samba names, thereby powering them on. 3. It then determines whether or not the host needs to be backed up. At this point the only solution I can think of is to modify BackupPC_dump's perl code to reverse the order of steps 2 and 3 above, and only invoke wake-on-lan if a backup is due. I am hoping a more experienced BackupPC user has a better solution that doesn't involve modifying the perl code. Thanks for the help! Dave -----Original Message----- From: David Lasker [mailto:[email protected]] Sent: Saturday, February 21, 2009 9:36 AM To: [email protected] Subject: [BackupPC-users] BackupPC calls NmbLookupFindHostCmd every hour messing up wakeonlan I am using BackupPC to wake up my PC by calling wakeonlan in a NmbLookupFindHostCmd script as described here: http://www.mail-archive.com/[email protected]/msg01419.ht ml The good news is this wakes up the PC prior to starting a backup. The bad news is that BackupPC appears to call NmbLookupFindHostCmd every hour per the WakeupSchedule. So my PC gets turned on every hour even when no backup is required. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ 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/
