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

2012-09-07 Thread Phil Stracchino
On 09/07/12 03:32, Geert Stappers wrote:
> As I understand the (unreasonable??) request from Ana Romero
> is that some monthly scheme should fit in some weekly scheme.
> 
> With extra requirement that a weekend starts on friday
> and the second saturday of the month could/should be
> in the first weekend of the month.

Perhaps what could hypothetically be a way to accomplish this is to be
able to schedule by reference or with offsets (I'm not sure what the
best terminology would be).  So, you might be able to say "First Friday,
first Friday plus one day, first Friday plus two days".


-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
  Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater
 It's not the years, it's the mileage.

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2012-09-07 Thread Ana Romero
Hello all, 

It first, thank you very much to all for help me. 
I thought there would be any way to configure this type of schedule , this 
configuration I have made in HP DataProtector, without having to reconfigure 
the schedule each year and works correct ly. 

http://h30507.www3.hp.com/t5/Technical-Support-Services-Blog/First-Saturday-Schedule-Hack-Revisited/ba-p/104117
 

Thanks 
Regards 
- Mensaje original -

De: "Jeremy Maes"  
Para: bacula-users@lists.sourceforge.net 
Enviados: Viernes, 7 de Septiembre 2012 10:01:02 
Asunto: Re: [Bacula-users] How to configure schedule for run full the first 
weekend of the month?? 

Op 7/09/2012 9:32, Geert Stappers schreef: 
> Op 20120906 om 18:57 schreef ganiuszka: 
>> W dniu 06.09.2012 17:18, Ana Romero pisze: 
>>> Backup1 -> 7 September 
>>> Backup2 -> 1 September 
>>> Backup3 -> 3 September 
>>> 
>>> but I want this schedule: 
>>> 
>>> Backup1 -> 7 September 
>>> Backup2 -> 8 September 
>>> Backup3 -> 9 September 
... 
> As I understand the (unreasonable??) request from Ana Romero 
> is that some monthly scheme should fit in some weekly scheme. 
> 
> With extra requirement that a weekend starts on friday 
> and the second saturday of the month could/should be 
> in the first weekend of the month. 
> 
> At http://bacula.org/5.2.x-manuals/en/main/main/Configuring_Director.html is 
> given: 
> |  = on 
> |  = at 
> |  = 1st | 2nd | 3rd | 4th | 5th | first | 
> | second | third | fourth | fifth 
> |  = sun | mon | tue | wed | thu | fri | sat | 
> | sunday | monday | tuesday | wednesday | 
> | thursday | friday | saturday 
> |  = w00 | w01 | ... w52 | w53 
> |  = jan | feb | mar | apr | may | jun | jul | 
> | aug | sep | oct | nov | dec | january | 
> | february | ... | december 
> |  = daily 
> |  = weekly 
> |  = monthly 
> 
> I see no fit for 
>>> Backup1 -> 7 September 
>>> Backup2 -> 8 September 
>>> Backup3 -> 9 September 
> working in october as 
> Backup1 -> fri 5 october 
> Backup2 -> fri 6 october 
> Backup3 -> fri 7 october 
> 
> 
> Cheers 
> Geert Stappers 

I'm thinking you'll have to write your own complete schedule for e.g. a 
whole year, as just like Geert says I don't think there's a specific 
schedule statement that fits your requirements for all months. 

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@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/bacula-users 

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2012-09-07 Thread Jeremy Maes
Op 7/09/2012 9:32, Geert Stappers schreef:
> Op 20120906 om 18:57 schreef ganiuszka:
>> W dniu 06.09.2012 17:18, Ana Romero pisze:
>>> Backup1 -> 7 September
>>> Backup2 -> 1 September
>>> Backup3 -> 3 September
>>>
>>> but I want this schedule:
>>>
>>> Backup1 -> 7 September
>>> Backup2 -> 8 September
>>> Backup3 -> 9 September
...
> As I understand the (unreasonable??) request from Ana Romero
> is that some monthly scheme should fit in some weekly scheme.
>
> With extra requirement that a weekend starts on friday
> and the second saturday of the month could/should be
> in the first weekend of the month.
>
> At http://bacula.org/5.2.x-manuals/en/main/main/Configuring_Director.html is 
> given:
> | = on
> |   = at
> | = 1st | 2nd | 3rd | 4th | 5th | first |
> | second | third | fourth | fifth
> | = sun | mon | tue | wed | thu | fri | sat |
> | sunday | monday | tuesday | wednesday |
> | thursday | friday | saturday
> |  = w00 | w01 | ... w52 | w53
> |= jan | feb | mar | apr | may | jun | jul |
> | aug | sep | oct | nov | dec | january |
> | february | ... | december
> |= daily
> |   = weekly
> |  = monthly
>
> I see no fit for
>>> Backup1 -> 7 September
>>> Backup2 -> 8 September
>>> Backup3 -> 9 September
> working in october as
>   Backup1 -> fri 5 october
>   Backup2 -> fri 6 october
>   Backup3 -> fri 7 october
>
>
> Cheers
> Geert Stappers

I'm thinking you'll have to write your own complete schedule for e.g. a 
whole year, as just like Geert says I don't think there's a specific 
schedule statement that fits your requirements for all months.

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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2012-09-07 Thread Geert Stappers
Op 20120906 om 18:57 schreef ganiuszka:
> W dniu 06.09.2012 17:18, Ana Romero pisze:
> >
> > Backup1 -> 7 September
> > Backup2 -> 1 September
> > Backup3 -> 3 September
> >
> > but I want this schedule:
> >
> > Backup1 -> 7 September
> > Backup2 -> 8 September
> > Backup3 -> 9 September
> >
> 
> I do not understand. See below my descriptions for your text from 
> previous mail.
> 
> Backup1 -> 7  September <== it is Friday (tomorrow)
> Backup2 -> 1  September <== it is Saturday (past)
> Backup3 -> 3  September <== it is Monday (past)
> 
> So could you explain us your need?

As I understand the (unreasonable??) request from Ana Romero
is that some monthly scheme should fit in some weekly scheme.

With extra requirement that a weekend starts on friday
and the second saturday of the month could/should be
in the first weekend of the month.

At http://bacula.org/5.2.x-manuals/en/main/main/Configuring_Director.html is 
given:
| = on
|   = at
| = 1st | 2nd | 3rd | 4th | 5th | first |
| second | third | fourth | fifth
| = sun | mon | tue | wed | thu | fri | sat |
| sunday | monday | tuesday | wednesday |
| thursday | friday | saturday
|  = w00 | w01 | ... w52 | w53
|= jan | feb | mar | apr | may | jun | jul |
| aug | sep | oct | nov | dec | january |
| february | ... | december
|= daily
|   = weekly
|  = monthly

I see no fit for
> > Backup1 -> 7 September
> > Backup2 -> 8 September
> > Backup3 -> 9 September
working in october as
 Backup1 -> fri 5 october
 Backup2 -> fri 6 october
 Backup3 -> fri 7 october


Cheers
Geert Stappers
-- 
http://www.vanadcimplicity.com/
--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2012-09-06 Thread ganiuszka
W dniu 06.09.2012 17:18, Ana Romero pisze:
> 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
>

I do not understand. See below my descriptions for your text from 
previous mail.

Backup1 -> 7  September <== it is Friday (tomorrow)
Backup2 -> 1  September <== it is Saturday (past)
Backup3 -> 3  September <== it is Monday (past)

So could you explain us your need?

Maybe you are thinking about that this month has been started a week 
ago. In this case, you can adjust your schedules for this month eg. by:

Schedule {
   Name = "SomeSchedule1"
   Run = Level=Full 2nd fri at 18:00
}

Schedule {
   Name = "SomeSchedule2"
   Run = Level=Full 2nd sat at 18:00
}

Schedule {
   Name = "SomeSchedule3"
   Run = Level=Full 2nd sun at 18:00
}

And in after this backups you can to set back your schedule on 1st days 
of the month.

What do you think about that?

Regards.
gani

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2012-09-06 Thread Ana Romero
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 

- Mensaje original -

De: "Jeremy Maes"  
Para: "Ana Romero"  
CC: "ganiuszka" , bacula-users@lists.sourceforge.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?? 







- Mensaje original -

De: "ganiuszka"  
Para: "Ana Romero"  
CC: bacula-users@lists.sourceforge.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  : 
> 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#SECTION00235
 

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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2012-09-06 Thread Jeremy Maes





*De: *"ganiuszka" 
*Para: *"Ana Romero" 
*CC: *bacula-users@lists.sourceforge.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 :
> 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#SECTION00235

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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2012-09-06 Thread Ana Romero
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 




- Mensaje original -

De: "ganiuszka"  
Para: "Ana Romero"  
CC: bacula-users@lists.sourceforge.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 : 
> 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#SECTION00235
 

Regards. 
gani 

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2012-09-06 Thread ganiuszka
2012/9/6 Ana Romero :
> 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#SECTION00235

Regards.
gani

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users