Tony Molloy wrote:
On Friday 11 January 2008 12:20:56 Jockes wrote:
Tony Molloy wrote:
On Friday 11 January 2008 09:42:43 Jockes wrote:
Hello,
I want to have different wakeups för different backups and wonder how I
can handle this.
E.g.
- The server (always up), want nightly backups at 02.00 AM
- Clients (not always up), want wakeups every hour to fullfil the backup
It seems that WakeupSchedule is only on global level but is there any
other way of doing it (I am sure it is :) )
BR / Jocke
What exactly do you want to achieve.
If you set the WakeupSchedule in the config file to every hour then
BackupPC will wake up each hour and backup any clients that are available
Tony
Yes, but also the server. I want to force that to happen at 02.00 AM,
not at any other time.
BR / Jocke
OK, this is from my own setup.
Basically I run BackupPC_nightly at 0.30am. I just want to run
BackuppC_nightly at this time no actual backups.
Then I backup my servers at 3.30 and 6.30am and backup my clients at 11am 2pm
6pm and 9pm.
In the global config file set the wakeup schedule
$Conf{WakeupSchedule} = [
0.5,
3.50,
6.50,
11,
14,
18,
21
];
For the servers. In the per-server config file.
# Don't do backups between 7am and 2am
# Servers should be backed up overnight
# Backed up at first wakeup after 2am
$Conf{BlackoutGoodCnt} = 0;
$Conf{BlackoutBadPingLimit} = 3;
$Conf{BlackoutPeriods} = [
{
hourBegin => 7.0,
hourEnd => 2.0,
weekDays => [0, 1, 2, 3, 4, 5, 6],
},
];
So servers are backed up at the first wakeup after 2am
For the clients. In the per-client config file
# Don't do backups between Midnight and 9am
# PC'c should be backed up during the day
# Backed up at first wakeup after 9am
$Conf{BlackoutGoodCnt} = 0;
$Conf{BlackoutBadPingLimit} = 3;
$Conf{BlackoutPeriods} = [
{
hourBegin => 0.0,
hourEnd => 9.0,
weekDays => [0, 1, 2, 3, 4, 5, 6],
},
];
So clients are backed up at the first wakeup after 9am if they are online.
Otherwise they are checked at each wakeup till midnight.
Hope this helps,
Tony
Thanks, that makes me to understand a bit more :)
Good material to start with.
Have a nice weekend!
// Jocke
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/