BackupPC-users

Re: [BackupPC-users] Question about blackoutperiods

2013-03-25 13:43:49
Subject: Re: [BackupPC-users] Question about blackoutperiods
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: "absolutely_free AT libero DOT it" <absolutely_free AT libero DOT it>, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 25 Mar 2013 12:42:10 -0500
On Mon, Mar 25, 2013 at 3:44 AM, absolutely_free AT libero DOT it
<absolutely_free AT libero DOT it> wrote:
>
> I've configured blackoutperiods in this way:
>
> $Conf{RsyncShareName} = [
>   'root'
> ];
> $Conf{RsyncdPasswd} = 'PASSWORD';
> $Conf{RsyncdUserName} = 'servername';
> $Conf{XferMethod} = 'rsyncd';
> $Conf{PingCmd} = '/bin/true';
>
> $Conf{CompressLevel} = '0';
> $Conf{BlackoutPeriods} = [
>   {
>     'hourEnd' => '23',
>     'weekDays' => [
>       '0',
>       '1',
>       '2',
>       '3',
>       '4',
>       '5',
>       '6'
>     ],
>     'hourBegin' => '7'
>   }
> ];
>
> In fact, my goal is to avoid the backup from 7 to 23, everyday. After this,
> I've reload configuration (via web interface).
> However, I see that the backups are not following my configuration (for
> example, in the past days, backups have been executed 11am and 21pm). Why?

Have the targets in question been up and pingable outside of the
blackout window for at least $Conf{BlackoutGoodCnt} days?  If not,
backuppc will try to back them up any time it can reach them.
Normally if you force the first run at a reasonable time when adding
hosts the 'approximately 24 hours' till the next run will take care of
it until backuppc determines that the host will be reachable at
off-hours.

Note also that you can override the blackout period per pc.  And on
the per-host web summary page you should see something to indicate the
status, like:

Pings to host_name have succeeded 150 consecutive times.
Because host_name has been on the network at least 7 consecutive
times, it will not be backed up from 5:00 to 19:30 on Mon, Tue, Wed,
Thu, Fri.
(or whatever your blackout schedule says).

-- 
   Les Mikesell
     lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
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>