Bacula-users

Re: [Bacula-users] Question about schedules

2008-06-29 12:03:13
Subject: Re: [Bacula-users] Question about schedules
From: Mike <micholz AT web DOT de>
To: Brian Debelius <bdebelius AT intelesyscorp DOT com>
Date: Sun, 29 Jun 2008 13:07:49 +0200
On Freitag, 27. Juni 2008 22:20:12 Brian Debelius wrote:

Hi Brian,

i played a little with your hint in mind. But unfortunately it does not
work es expected. For example, the current month (june) has five weeks
and the last week has an even weeknumber.

> Maybe,
>
> Schedule {
>   Name="Even"
>   Run=Level=Full Pool="Even" second mon at 0:00
>   Run=Level=Full Pool="Even" fourth mon at 0:00
> }
> Schedule {
>   Name="Odd"
>   Run=Level=Full Pool="Odd" first mon 0:00
>   Run=Level=Full Pool="Odd" third mon 0:00
>   Run=Level=Full Pool="Odd" fifth mon 0:00
> }

After looking on the schedules in the bit mask notation i saw, that the values 
for woy
was set to 0 1 2 3 4 5 ... 53. After seeing that i had the idea to write the 
wanted
woy in front of the day for the full backup and before the incremental 
definition.

See below for my schedules:
I wrote it beautyfied down here for better reading.

Schedule {
  Name = "WeeklyCycleEven"
  Run = Full Pool             ="even"   
w00,w02,w04,w06,w08,w10,w12,w14,w16,w18,w20,w22,w24,w26,w28,w30,w32,w34,w36,w38,w40,w42,w44,w46,w48,w50,w52
      mon at 10:05
  Run = Incremental Pool="even"  
w00,w02,w04,w06,w08,w10,w12,w14,w16,w18,w20,w22,w24,w26,w28,w30,w32,w34,w36,w38,w40,w42,w44,w46,w48,w50,w52
  tue-sun at 10:05
}

Schedule {
  Name = "WeeklyCycleOdd"
  Run = Full Pool=             "odd"   
w01,w03,w05,w07,w09,w11,w13,w15,w17,w19,w21,w23,w25,w27,w29,w31,w33,w35,w37,w39,w41,w43,w45,w47,w49,w51,w53
      mon at 10:05
  Run = Incremental Pool="odd"  
w01,w03,w05,w07,w09,w11,w13,w15,w17,w19,w21,w23,w25,w27,w29,w31,w33,w35,w37,w39,w41,w43,w45,w47,w49,w51,w53
  tue-sun at 10:05
}

I used the command reload within the bconsole and it works so far.
I will respond after a few runs of bacula.

Thanks so far for your help.

-- 
Regards,
Mike

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>