Bacula-users

Re: [Bacula-users] Copy Job conflicts with Allow Duplicate Jobs = no

2010-12-03 08:23:08
Subject: Re: [Bacula-users] Copy Job conflicts with Allow Duplicate Jobs = no
From: Jon Schewe <jpschewe AT mtu DOT net>
To: Bacula Users <bacula-users AT lists.sourceforge DOT net>
Date: Fri, 03 Dec 2010 07:20:34 -0600
On 12/02/2010 06:37 PM, Phil Stracchino wrote:
> On 12/02/10 19:22, Dan Langille wrote:
>   
>> An interesting situation arose today.  I had the Copy Job and the 
>> original Job with running on the same schedule but different priorities. 
>>   My goal: copy the original jobs to tape right after the original jobs run.
>>
>> However, with duplicate job control:
>>
>>    Allow Higher Duplicates = no
>>    Allow Duplicate Jobs = no
>>    Cancel Queued Duplicates = yes
>>
>> I saw this happen:
>>
>> 02-Dec 20:00 bacula-dir JobId 40501: No JobIds found to copy.
>>
>> The above message would appear in bconsole before job 40500 started.
>>
>> My conclusion: the check for jobs to copy is done when the job is 
>> queued, not when the job is started.
>>
>> Anyone concur?
>>     
> I seem to recall this has been reported previously, yes.
>
>   
That's correct. I've run into this and my solution has been to have each
job to be copied to explicitly queue the copy job for it by selecting
the last ID with the same job name. This ensures that you don't end up
with 2 copy jobs for the same original job.


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users