Hi, ADNET Ghislain wrote on 21.02.2007 at 12:20:23 [[BackupPC-users] backuppc 3.0 blackout]: > I use a blackout like this: > > > # pas de backup sauf entre entre 1h et 6h > $Conf{BlackoutPeriods} = [ > { > hourBegin => 6.5, > hourEnd => 0.5, > weekDays => [0, 1, 2, 3, 4, 5, 6], > }, > ]; > > so it should stop backups after 6h30 and start again when it hits 0h30 am
BackupPC will not *stop backups*, it just won't start new ones during the backup period, provided other conditions are met. > and in the /pc/hostname.pl i do : You can't set blackout periods on a per-host basis, only globally in config.pl. > do "/etc/BackupPC/blackout-1-6.pl"; > > but even with that i have the backuppc service that backup my host in > the middle of the day, the date of the server is ok. I restarted it > several time but it continue to launch backup in middle of the day. Any > idea of what is wrong here ? Check $Conf{BlackoutGoodCnt}. Blackouts only apply to hosts that have this many consecutive good pings (as stated in the documentation). This state is reset after $Conf{BlackoutBadPingLimit} bad pings. To have your hosts always subjected to the blackout period, set $Conf{BlackoutGoodCnt} to 0. Another tip from the excellent documentation right in the config file is to set the $Conf{WakeupSchedule} accordingly if you don't want any backups during a specific time window. Use the force, read the docs. Regards, Holger ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/