Thanks, however this doesn’t really explain what I was asking for. The Copy Job seems to reference to the Backup Job volumes, not to the Copy Job volumes, whereas the Copy Control Jo references to the Copy Job volumes.
When the Backup Job gets expired, and the Copy Control Job gets expired this merely leaves the Copy Job promted to a Backup Job in the catalog, which, however, only seems to reference the original Backup volumes and NOT the Copy Job volumes…. How does Bacula still know which Copy volumes belong to the promoted Copy Job? > On 20. Nov 2024, at 20:06, Bill Arlofski via Bacula-users > <bacula-users@lists.sourceforge.net> wrote: > > Hello Justin, > > > It's more simple than you think. > > > When Bacula prunes a Backup job which has a copy of itself, it promotes the > Copy to a Backup job as you know. > > But, all that happens is the 'jobtype' field in the Job table for this Copy > Job is changed from a 'C' to a 'B', and so then it is now a Backup job, and > this 'B'ackup job is now the default job which bacula will select when > performing a restore. > > > Now for some fun and possibly confusing stuff: > > P.S. Since the word "Copy" and "Copy Job" is used confusingly and > interchangeably I have decided to call the Copy Job which gets called to > select jobs to copy a "Copy Control Job", and the resulting copy of the > backup is simply a "Copy Job" > > When working with Copy and Migration control jobs in my baculabackupreport.py > script, I had to adopt some standard naming convention to help keep my > sanity. :) > > Next thing to know: When a Copy or Migration Control job finds more than one > Backup job to copy, the Copy/Migration control job triggers n-1 new > Copy/Migration Control jobs of itself, each to work on one backup job, and > the original Copy Control Job takes the final Backup job in the list and > performs the Copy/Migration itself. > > Fun stuff. 😬 > > > Hope this helps, > Bill > > -- > Bill Arlofski > w...@protonmail.com > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users