BackupPC-users

Re: [BackupPC-users] BackupPC not obeying blackout times

2013-05-22 11:48:10
Subject: Re: [BackupPC-users] BackupPC not obeying blackout times
From: "Michael Stowe" <mstowe AT chicago.us.mensa DOT org>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 22 May 2013 10:46:30 -0500

> 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?

Wait 7 days, perhaps.

The blackout period is only respected once the system has accumulated
enough good pings to exceed the $Conf{BlackoutGoodCnt} limit, which is 7
by default.

------------------------------------------------------------------------------
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/