Adrián Ribao Martínez wrote:
> El Sábado, 19 de Enero de 2008, escribió:
>> Adrián Ribao Martínez wrote:
>>> Hello, is it possible to define a schedule to run a full backup the first
>>> sunday of the month and incremental backup the other days of the month?
>>>
>>> Schedule {
>>> Name = "Monthly"
>>> Run = Full 1st sun at 23:30
>>> Run = Incremental ...
>>> }
>>>
>>> Can I use exceptions in Schedule definitions? I mean, run incremental
>>> daily except first sun of the month.
>> Yes.
>>
>> See examples here:
>>
>> http://www.bacula.org/rel-manual/Configuring_Director.html#SECTION001450000
>> 000000000000
>>
>> I guess you want:
>>
>> Run = Level=Incremental 2nd-5th sun at 23:30
>
> I read the documentation before sending the first email, but I couldn't
> figure
> out how to do it. AFAIK
> Run = Level=Incremental 2nd-5th sun at 23:30
> would run only on sundays, and I want to run an incremental copy every day
> but
> the first sunday of the month.
I misread it. Sorry.
I would start using the Unix date command, and run a RunBefore Script on
a job schedule to run every day. If the date command finds that it is
the first Sunday of the month, it will return a condition that stops the
job from running. It's a simple matter of programming a shell script to
do this.
--
Dan Langille - http://www.langille.org/
BSDCan - The Technical BSD Conference: http://www.bsdcan.org/
PGCon - The PostgreSQL Conference: http://www.pgcon.org/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users