Bacula-users

Re: [Bacula-users] Fwd: Can someone help me to solve my logical problem... ?

2010-03-29 09:16:16
Subject: Re: [Bacula-users] Fwd: Can someone help me to solve my logical problem... ?
From: John Drescher <drescherjm AT gmail DOT com>
To: gnowar <g.nowar AT gmail DOT com>
Date: Mon, 29 Mar 2010 09:13:51 -0400
On Mon, Mar 29, 2010 at 4:40 AM, gnowar <g.nowar AT gmail DOT com> wrote:
>
> Well, about that..
>
> Is there a way to use an exception for one or several days ?
>
> Schedule {
>  Name = "SchedTapeRetDay"
>  Run = Full mon-fri at 23:05
> }
>
> Schedule {
>  Name = "SchedTapeRetYear"
>  Run = Full w01, w05, w09, w13, w17, w21, w25, w29, w33, w37, w41, w45,
> w49, w53 Mon at 23:05
> }
>
> You see the problem. For the mondays who are parts of w01, w05 etc. bacula
> will double the backup.
>

I believe this will work if you use 1 schedule. I may be wrong.

Schedule {
    Name = "MySchedule"
    Run = Full w01, w05, w09, w13, w17, w21, w25, w29, w33, w37, w41,
w45,  w49, w53 Mon at 23:05
    Run = Full mon-fri at 23:05
}

Now if that does not work. You can select the weeks individually for
Monday. Something like:

Schedule {
    Name = "MySchedule"
    Run = Full w01, w05, w09, w13, w17, w21, w25, w29, w33, w37, w41,
w45,  w49, w53 Mon at 23:05
    Run = Full tue-fri at 23:05
    Run = Full w02, w03, w04, w06, w07, w08, w10, w11, w12, w14, w15,
w16 Mon at 23:05
}

And yes I stopped at week 16, you will have to fix that..

John

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users