Bacula-users

Re: [Bacula-users] Skipping a single execution of a scheduled job

2008-09-18 14:06:25
Subject: Re: [Bacula-users] Skipping a single execution of a scheduled job
From: Dan Langille <dan AT langille DOT org>
To: Tilman Schmidt <t.schmidt AT phoenixsoftware DOT de>
Date: Thu, 18 Sep 2008 14:06:07 -0400
Tilman Schmidt wrote:
> I have a Bacula backup server running fine, doing daily backups of a
> couple of clients to tape. Because of a holiday, I have a need to skip
> one day in the schedule, ie. just not run any of the jobs scheduled for
> that day. Is there an easy way to do that? Some sort of "except" clause
> for the "Schedule" resource? A possibility to cancel the next execution
> of a job before it is started?
> 
> Alternatively, is there a way to configure a job so that, if the tape
> it requests isn't available, it just aborts instead of waiting for
> operator intervention and blocking subsequent jobs whose destination
> volumes would be available?

Add a RunBefore option to the job.  In that script, check for exceptions 
and return a value that would cancel the job.  :)

-- 
Dan Langille

BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference:     http://www.pgcon.org/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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>