Note this tread as well; it's possible the documentation is wrong (the source code seem to indicate so):
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#SECTION003100000000000000000 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. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Silver Salonen wrote: > On Monday 31 August 2009 09:33:22 Ralf Gross wrote: >> Silver Salonen schrieb: >>> On Sunday 30 August 2009 13:58:44 Ralf Gross wrote: >>>> Martina Mohrstein schrieb: >>>>> So my question is how could I prevent the schedule of a job when the >>>>> same job is already running? >>>> Maybe the new Duplicate Job Control feature in 3.0.x helps to prevent >>>> this? >>>> >>>> http://www.bacula.org/en/dev-manual/New_Features.html#515 >>>> >>>> - Allow Duplicate Jobs >>>> - Allow Higher Duplicates >>>> - Cancel Queued Duplicates >>>> - Cancel Running Duplicates >>>> >>> I haven't still seen it working as it should (even in 3.0.2), but yes, a > day >>> it will, it'll be the most correct and easiest way to achieve this. >> Did anyone file a bug report about that? I searched the bug database, >> but couldn't find a report about that. At least no open bug. >> >> Ralf > > Hmm, I guess not then. But it has been reported several times in the list. > So, > any volunteers? :) > -- Stephen Thompson Berkeley Seismological Laboratory step...@seismo.berkeley.edu 215 McCone Hall # 4760 404.538.7077 (phone) University of California, Berkeley 510.643.5811 (fax) Berkeley, CA 94720-4760 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users