BackupPC-users

Re: [BackupPC-users] blackout periods

2010-12-06 02:10:04
Subject: Re: [BackupPC-users] blackout periods
From: Daniel Mueller <daniel.mueller AT awema DOT ch>
To: backuppc-users AT lists.sourceforge DOT net
Date: Mon, 06 Dec 2010 08:07:22 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> $Conf{BlackoutPeriods} = [
>     {
>         hourBegin =>  4.0,
>         hourEnd   => 21.0,
>         weekDays  => [1, 2, 3, 4, 5, 6, 7],
>     },
> ];
> 
> ...and restarted backuppc. When I got home tonight, it did the same
> thing, backed up as soon as I hit the door. Will this work or does the
> blackout period in config.pl override individual periods in the
> per-host config files?

The blackout settings may be ignored because the host wasn't seen on the
network - ping failed too often. See documentation on:

$Conf{BlackoutBadPingLimit} = 3;
$Conf{BlackoutGoodCnt} = 7;

    PCs that are always or often on the network can be backed up after
hours, to reduce PC, network and server load during working hours. For
each PC a count of consecutive good pings is maintained. Once a PC has
at least $Conf{BlackoutGoodCnt} consecutive good pings it is subject to
``blackout'' and not backed up during hours and days specified by
$Conf{BlackoutPeriods}.

    To allow for periodic rebooting of a PC or other brief periods when
a PC is not on the network, a number of consecutive bad pings is allowed
before the good ping count is reset. This parameter is
$Conf{BlackoutBadPingLimit}.

    Note that bad and good pings don't occur with the same interval. If
a machine is always on the network, it will only be pinged roughly once
every $Conf{IncrPeriod} (eg: once per day). So a setting for
$Conf{BlackoutGoodCnt} of 7 means it will take around 7 days for a
machine to be subject to blackout. On the other hand, if a ping is
failed, it will be retried roughly every time BackupPC wakes up, eg,
every one or two hours. So a setting for $Conf{BlackoutBadPingLimit} of
3 means that the PC will lose its blackout status after 3-6 hours of
unavailability.

You may want to set $Conf{PingCmd} = '/bin/true'; to disable the ping
feature.

Regards
Daniel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkz8i6oACgkQ9cNB6SmxvVq9bwCgjCCzSG1C6jCGj8e/+6bqMQUe
XwEAnR0k1f1FW7ItX7TAOgNRNAbDpEKj
=b2KJ
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
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>