BackupPC-users

Re: [BackupPC-users] BlackoutPeriods syntax to black-out full day

2011-02-08 16:59:32
Subject: Re: [BackupPC-users] BlackoutPeriods syntax to black-out full day
From: Carl Wilhelm Soderstrom <chrome AT real-time DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 8 Feb 2011 15:58:11 -0600
On 02/08 01:33 , Jeffrey J. Kosowsky wrote:
> I'm a little unsure on how you make the blackout period cover a full
> day (i.e. the boundary conditions of hourBegin/hourEnd)
> 
> I want to for example black out the weekend -- all Saturday & Sunday.
> i.e. from midnight Friday night to midnight Sunday night.
> 
> Will the following do that?
> 
>     $Conf{BlackoutPeriods} = [
>       {
>           hourBegin =>  0.0,
>           hourEnd   => 24.0,
>           weekDays  => [0,7],
>       },

This may still allow jobs to run at 0.0 (not sure, empirical testing is the
only way to know). In order to fix that, I'd make sure $Conf{WakeupSchedule}
does not have 0.0 as one of the wakeup times.

> Also, is there any way to get BackupPC_nightly to also not run during
> the blackout period other than perhaps shutting off the entire service
> for that period.

AFAIK BackupPC_nightly runs when $Conf{WakeupSchedule} begins. For instance,
I want BackupPC_nightly to start running when people are working, instead of
when the machine should be backing up, so I set:
$Conf{WakeupSchedule} = [8..24,1..7];

and BackupPC_nightly runs at 8:00.

-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
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/

<Prev in Thread] Current Thread [Next in Thread>