Re: [Bacula-users] Allow Higher Duplicates directive
2010-01-31 18:51:27
ganiuszka wrote:
> Dan Langille pisze:
>> Resending with additional information
>>
>> ganiuszka wrote:
>>> I used to this job next directives:
>>>
>>> Allow Duplicate Jobs = no
>>> Allow Higher Duplicates = yes
>>>
>>> I ran the job, and the moment I started a job of the same name but
>>> with a higher priority. First job still worked, second job had a
>>> status "waiting for higher priority jobs to finish". Why the first job
>>> does not abort and the second job starts out of hand?
>> My guess: Because it was already running. Bacula does not cancel
>> running jobs. The directives are applied to jobs as they are being
>> added to the queue.
>>
>> Try running three jobs and then you'll see.
>
> Thanks for reply.
>
> Yes, I ran three jobs, and I have the same effect. All three has been
> finished OK.
>
> I guess that "Allow Higher Duplicates" does not work correctly. I saw
> the source code and I guess that if Allow Higher Duplicates is set "yes"
> than actions described in Bacula documentation for this directive do not
> work.
In my previous message I mentioned these items. Did you try them?
> Then you might want to look into these directives:
>
> Cancel Queued Duplicates = <yes|no>
> If this directive is set to yes (default) any job that is already queued
> to run but not yet running will be canceled.
>
> Cancel Running Duplicates = <yes|no>
> If this directive is set to yes any job that is already running will be
> canceled. The default is no.
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|