Bacula-users

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

2010-03-29 09:39:32
Subject: Re: [Bacula-users] Fwd: Can someone help me to solve my logical problem... ?
From: gnowar <g.nowar AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 29 Mar 2010 06:36:56 -0700 (PDT)
Yeah, you're right.. I'm dumb.

I did something like that :

Schedule {
  Name = "SchedTapeRetDay"
#  Run = Full mon-fri at 23:05
  Run = Full w01, w05, w09, w13, w17, w21, w25, w29, w33, w37, w41, w45,
w49, w53 tue-fri at 23:05
  Run = Full w02, w03, w04, w06, w07, w08, w10, w11, w12, w14, w15, w16,
w18, w19, w20, w22, w23, w24, w26, w27, w28, w30, w31, w32, w34, w35, w36,
w38, w49, w40, w42, w43, w44, w46, w47, w48, w50, w51, w52 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
}

That sould work fine.

Thank you John.

I'll be back in 1 month to confirm the process ;)



John M. Drescher wrote:
> 
> 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
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Can-someone-help-me-to-solve-my-logical-problem...---tp27864557p28069390.html
Sent from the Bacula - Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
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