On 05/22/2013 01:53 PM, Arnold Krille wrote:
> Am 2013-05-22 16:05, schrieb Zach La Celle:
>> I'm running BackupPC 3.2.1 on a Ubuntu 12.04 linux distribution.
>>
>> I've created a custom perl file for one of my hosts (through the web
>> interface) to disable backups during the day, and only allow them to
>> be
>> queued at night. However, backups are still being queued in
>> disallowed
>> times.
>>
>> Under "Schedule" on the host's config options in the web interface, I
>> have the following:
>> BlackoutPeriods:
>> Override (checked)
>> hourBegin 8
>> hourEnd 17
>> weekDays 1, 2, 3, 4, 5
>>
>> There are spaces after the commas in weekDays
>>
>> In the perl file for the host, I have the following (direct copy):
>> $Conf{BlackoutPeriods} = [
>> {
>> 'hourEnd' => '17',
>> 'weekDays' => [
>> 1,
>> 2,
>> 3,
>> 4,
>> 5
>> ],
>> 'hourBegin' => '8'
>> }
>> ];
>>
>> However, I had a backup begin at 10:00 after making these changes.
>>
>> What do I need to do differently?
> BlackOutPeriod will only be honored if there are enough good pings. And
> if there is no overdue backup scheduled. And if there is at least one
> good backup.
> And its in the servers timezone, could be you are using a UTC-blackout
> while your office-work-hours are in CEST or something.
>
> And BlackOutPeriod only affects the start-time of backups, no backup
> will be interrupted by the beginning of the period.
>
> Have fun,
>
> Arnold
Thank you Arnold. Is there any way for me to tell BackupPC to ignore
the preconditions? I don't care if this guy has backed up before, or if
he doesn't have an overdue backup, or if he has enough good pings. I
just never want a backup to start between 8am and 5pm, period.
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
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/
|