BackupPC-users

[BackupPC-users] R: Re: Question about blackoutperiods

2013-03-29 05:22:28
Subject: [BackupPC-users] R: Re: Question about blackoutperiods
From: "absolutely_free AT libero DOT it" <absolutely_free AT libero DOT it>
To: backuppc-users AT lists.sourceforge DOT net
Date: Fri, 29 Mar 2013 10:20:53 +0100 (CET)
Hi,
thank you very much for your reply.
I noticed that in default configuration "BlackoutGoodCnt" is -1, so, as in
documentation, blackout periods isn't effective.
Now I set BlackoutGoodCnt = 0, and in host summary I see:

This PC is used by spitz.
Last status is state "idle" (idle) as of 3/26 05:09.
Pings to spitz have succeeded 111 consecutive times.
Because spitz has been on the network at least 0 consecutive times, it will
not be backed up from 7:00 to 23:00 on Sun, Mon, Tue, Wed, Thu, Fri, Sat.

Before my edit, I did not see the last line ("Because spitz...") so I think
NOW it will work as as expected

ANYWAY, because "spitz" and my backuppc server are in different subnet, and
ping between them is impossible, in fact I put this line in spitz's host
configuration:

$Conf{PingCmd} = '/bin/true';

do you think this can be an "anomaly" for Blackout period logic?

Thank you again


>----Messaggio originale----
>Da: lesmikesell AT gmail DOT com
>Data: 25/03/2013 18.42
>A: "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>
>Ogg: Re: [BackupPC-users] Question about blackoutperiods
>
>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
>



------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
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>
  • [BackupPC-users] R: Re: Question about blackoutperiods, absolutely_free AT libero DOT it <=