Hi,

07.08.2007 13:27,, Falk Sauer wrote::
> Hi Benjamin,
> 
> On Tuesday 07 August 2007 writes Benjamin E. Zeller:
> 
>> this is rather urgent, can't figure it out via the docs.
> 
> urgent is a really bad word on any mailing lists ...

Indeed :-)

But anyway...

>> How can I schedule a fullbackup, that runs every 4 weeks on saturday?
>>
>> Schedule {
>>   Name = "red"
>>   Run = Level=Incremental mon-sat at 22:00
>>   Run = Level=Full sun at 22:00
>> }
>>
>>
>> The 2nd Run= should be the schedule mentioned above.
> 
> have a look on Message-Id: <[EMAIL PROTECTED]> in this List.

Good advice, but there are at least two options for cases where you 
*really* need the four-weekly schedule. Not that I really believe that 
  usually, you do *not* need such a schedule.

Option one:
Run= ... w01, w05, w09, w13, ...
This is a nightmare to manage for many clients when the year changes, 
though...

Option two:
Use a run before job script that gets fed the client name, job name 
and backup level, does some math to decide if it's a "4th week", and 
decides if the backup should run. Return with an error code of 1 to 
indicate the job should not run. Note that you don't want this with 
"rerun failed levels" set to yes, probably ;-)

Option 2.5:
Do the above decisions in  a python event triggered before job start 
and set the backup level from the event handler. I always wanted to 
try this, but never got around to actually working on it...

Arno


> or read the manual from the newest beta releases if its realized in any 
> version after the last release. 
> 
> regards
>    Falk
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to