Bacula-users

Re: [Bacula-users] How to configure schedule for run full the first weekend of the month??

2012-09-06 11:21:22
Subject: Re: [Bacula-users] How to configure schedule for run full the first weekend of the month??
From: Ana Romero <ana.romero AT cpxextremadura DOT com>
To: jma AT schaubroeck DOT be
Date: Thu, 6 Sep 2012 17:18:24 +0200 (CEST)
Hello Jeremy,

I'm trying to do is run during the first weekend ( fri, sat and sun ) all my full backups with the following schedule  :

Set backup1:
Run=Level=Full 1st fri at 18:00
Set backup2:
Run=Level=Full 1st sat at 18:00
Set backup3
Run=Level=Full 1st sun at 18:00

e.g. full backup for the month of September 2012 the execution would be:

Backup1 -> 7 
September
Backup2 -> 1  September
Backup3 -> 3  September

but I want this schedule:

Backup1 -> 7
September
Backup2 -> 8 September
Backup3 -> 9
September

do you understand now?

thank very much for help me
Regards



De: "Jeremy Maes" <jma AT schaubroeck DOT be>
Para: "Ana Romero" <ana.romero AT cpxextremadura DOT com>
CC: "ganiuszka" <ganiuszka AT gmail DOT com>, bacula-users AT lists.sourceforge DOT net
Enviados: Jueves, 6 de Septiembre 2012 15:00:23
Asunto: Re: [Bacula-users] How to configure schedule for run full the first weekend of the month??




De: "ganiuszka" <ganiuszka AT gmail DOT com>
Para: "Ana Romero" <ana.romero AT cpxextremadura DOT com>
CC: bacula-users AT lists.sourceforge DOT net
Enviados: Jueves, 6 de Septiembre 2012 11:13:54
Asunto: Re: [Bacula-users] How to configure schedule for run full the first weekend of the month??

2012/9/6 Ana Romero <ana.romero AT cpxextremadura DOT com>:
> Hello list,
>
> I don't know how to configure a schedules for run full the first weekend of
> the month ... you help me?
>
> Thank very much
> Regards

Hi,

Maybe that for 1st Sunday of the month:

Schedule {
  Name = "SomeSchedule"
  Run = Level=Full 1st sun at 9:00
}

or that for Saturday and Sunday on the month:

Schedule {
  Name = "SomeSchedule"
  Run = Level=Full 1st sat-sun at 9:00
}

Here is more info about that:

http://bacula.org/5.2.x-manuals/en/main/main/Configuring_Director.html#SECTION002350000000000000000

Regards.
gani
Op 6/09/2012 12:52, Ana Romero schreef:
Hello Gani,

I want to perform a full backup monthly on the first weekend of every month, but with the configuration you propose this would not be possible as for example in September on the first Friday of the month is 7 and the first Saturday and Sunday has been the 1 and 2, so that backups have been divided in two weeks.

I need a configuration that can ensure that backups will be released consecutively Friday, Saturday and Sunday.


thank very much
Regards
Ana
I'm not entirely sure what you mean, but I think the schedule Gani proposed does exactly what you want. It will always make a full backup on the 1st Saturday (or the first Saturday and Sunday) of every month. The "1st" keyword points to week-of-month when use like that as opposed to day-of-month you seem to think.

To make full backups on the first Friday, Saturday and Sunday of every month just make it "Run = Level=Full 1st fri-sun at 9:00".

Regards,
Jeremy

**** DISCLAIMER ****
http://www.schaubroeck.be/maildisclaimer.htm


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users