Dave Smulsky wrote:
> Ive tried a few different things, and still I cannot figure out how
> to blackout an entire day.. For example if I want the backups to only
> run on Saturday between 8PM and midnight.. How would I accomplish that?
>
>
You can do something like this.....
$Conf{BlackoutPeriods} = [
{
hourBegin => 0.0,
hourEnd => 23.5,
weekDays => [0,1, 2, 3, 4, 5],
},
{
hourBegin => 0.0,
hourEnd => 19.5,
weekDays => [6],
},
];
But its also important to set.....
**$Conf{BlackoutGoodCnt} = 0;
so that blackout values are enforced. This is documented in the config.pl.
if your...... $Conf{WakeupSchedule} = [1..23]; # every hour
except midnight
(which would be the default value)
...then......
the above blackout period should do what you are after. Backups should
only kick in on Saturday at either 8pm, 9pm, 10om or 11pm when backups
will attempt to be run if necessary via WakeupSchedule.
make sure you restart backuppc after making the changes.
Regards,
Les
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/