BackupPC-users

Re: [BackupPC-users] Blackout period not working?

2015-10-01 10:13:15
Subject: Re: [BackupPC-users] Blackout period not working?
From: Bowie Bailey <Bowie_Bailey AT BUC DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 1 Oct 2015 10:10:46 -0400
On 10/1/2015 9:37 AM, Sorin Srbu wrote:
>> -----Original Message-----
>> From: Bowie Bailey [mailto:Bowie_Bailey AT BUC DOT com]
>> Sent: den 1 oktober 2015 15:23
>> To: backuppc-users AT lists.sourceforge DOT net
>> Subject: Re: [BackupPC-users] Blackout period not working?
>>
>> On 10/1/2015 3:16 AM, Sorin Srbu wrote:
>>> Hi all,
>>>
>>> I just noticed that one of our BPC-servers started a full backup at
>>> about 0900 hrs despite its blackout period was set as follows:
>>>
>>> hourBegin 8
>>> hourEnd 18
>>> weekDays 1,2,3,4,5
>>>
>>> Am I misunderstanding this setting, or aren't backups supposed to
>>> _not_ run from 0800 till 1800 on each weekday?
>>>
>>> This is running off of a CentOS 6.7 x64 and BPC is v3.3.1.
>> Two possibilities come to mind:
>>
>> 1) You didn't specify whether you were looking at the main server config or
>> the host config.  Blackout periods can be set on a per-host basis, so a host
>> config can override the blackout period set in the main server config.
>>
>> 2) If a host is frequently unreachable, BPC may ignore the blackout period
>> and back it up as soon as it sees it on the network again. This is
>> controlled by
>> the BlackoutGoodCnt and BlackoutBadPingLimit settings.
> Good point, thanks. Checking...
>
> Main config (BPC-server): 8-18, all weekdays
> Host config (cloud server): 8-18, all weekdays
>
> The badping limit and good content are set at their defaults three and seven
> respectively.
> The host, a departmental cloud-server, is however one of those servers that is
> up 24/7/365 (or close to in any case - it's not supposed to be down for any
> reason if possible).
>
> I'll keep an eye on it for a while and see what happens now.

Go to the host page on the web interface and look at the summary info at 
the top.  There should be a couple of lines that look something like this:

- Pings to <host> have succeeded 1417 consecutive times.
- Because <host> has been on the network at least 7 consecutive times, 
it will not be backed up from 8:00 to 18:00 on Mon, Tue, Wed, Thu, Fri.

For a server that is available 24/7, there should be a fairly high 
number of consecutive pings.  If not, maybe you need to adjust the ping 
command.

-- 
Bowie

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