Bacula-users

Re: [Bacula-users] duplicate job control

2009-10-05 03:47:36
Subject: Re: [Bacula-users] duplicate job control
From: Silver Salonen <silver AT ultrasoft DOT ee>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 5 Oct 2009 10:43:09 +0300
On Friday 31 July 2009 11:41:29 Bram Vandoren wrote:
> Dear All,
> Bacula (3.0.2) is configured to make daily backups of some systems. Full
> backups unfortunately take more then one day to complete and I want to
> avoid that duplicate jobs start (or are queued) before the full backup
> is completed.
> 
> No duplicate job control directives are configured. If I understand the
> manual correctly (perhaps it's an interpretation error of me)
> http://www.bacula.org/en/dev-manual/New_Features.html#SECTION00310000000000
> 0000000 this should not happen.
> 
> I had a quick look in the source code and found this code in
>  src/dird/job.c:
> 
> bool allow_duplicate_job(JCR *jcr)
> {
>    JOB *job = jcr->job;
>    JCR *djcr;                /* possible duplicate */
> 
>    if (job->AllowDuplicateJobs) {
>       return true;
>    }
>    if (!job->AllowHigherDuplicates) {
>       --> code related to "Cancel Queued Duplicates: and "Cancel Running
> Duplicates" here
>    }
>    return true;
> }
> 
> Apparently "Cancel Queued Duplicates" and "Cancel Running Duplicates"
> are only evaluated when "Allow Higher Duplicates" is set to "no" - not
> default. Is this an error in the documentation, code or me not correctly
> understanding the manual or code?
> 
> Kind regards,
> Bram Vandoren.

Well, yes, this is how Bacula handles duplicate jobs. To my experience. What's 
the error in documentation?

-- 
Silver

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
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>