On 06/28/2017 08:01 PM, Lee Brown wrote:
> Hi,
> 
> Is there a way to limit what is considered a 'copied' job?  I recently enabled
> a copy-job which I had in place for ages and just decided to activate. 
> Unfortunately it wants to copy a few hundreds of jobs going back months, which
> is not very useful.
> 
> How can I mark jobs as already copied?  I found a reference to a similar
> question here
> <http://www.backupcentral.com/forum/19/247405/247683/question_about_pooluncopiedjobs_selection#msg-247683>
> with no resolution.
> 
> Thanks,
> lee

Hi Lee,

What I always recommend in this case is to temporarily not use the
"PoolUncopiedJobs" option, and instead use the SQL option, and set up
something like this:

----8<----
Selection Type = SQLQuery
Selection Pattern = "SELECT JobId FROM Job WHERE Type='B' AND JobStatus='T'
AND JobId BETWEEN 'x' AND 'y' ORDER BY JobId ASC;"
----8<----

Then you can do the copy jobs in batches.

Later, once you have copied all the jobs, you can revert to the
"PoolUncopiedJobs" method.


Best regards,

Bill

-- 
Bill Arlofski
http://www.revpol.com/bacula
-- Not responsible for anything below this line --

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to