That's great, thanks Bill. It seems I had the correct answer but didn't know how to use it correctly. The level thing threw me off completely.
My plan is to run the copy job immediately after the backup in a run script runcopy.sh %n %p with some text substitutions within to change <job>-backup to <job>-copy Thanks -Chris Wilkinson On Thu, 14 Nov 2024, 01:47 Bill Arlofski via Bacula-users, <bacula-users@lists.sourceforge.net <mailto:bacula-users@lists.sourceforge.net>> wrote: On 11/13/24 4:14 PM, Chris Wilkinson wrote: > Yes, this is what I based my first attempt on but ran into the issue that it > doesn't work copying diff and incr pools. That's > when I turned to the list for advice. > > -Chris- Hello Chris, You have three "source" pools, with each having a "NextPool" setting pointing to its corresponding destination pool. So far so good. Now, you have one Copy (control) job defined - This is fine too. You have "Level = Full" set in that CopyControl job, but just to be clear, that Level means nothing. It will be displayed in the CopyControl Job's Job level when running, and stored in the catalog when the job completes, but it literally means nothing. Next, when you want to copy the jobs from the Diff pool, or Inc Pool you simply need to set on the command line: pool=m910q-backup-differential pool=m910q-backup-incremental To tell the CopyControl job what source pool to look in for jobs that have not been copied anywhere yet. So, for example to copy jobs from the Diff pool: * run job=m910q-copy pool=m910q-backup-differential This should override the "source" pool configured in your `m910q-copy` CopyControl job. An example from my environment: ----8<---- *run job=Copy-X1carbon pool=Offsite-eSATA-Diff Run Copy job JobName: Copy-X1carbon Bootstrap: *None* Client: NA FileSet: None Pool: Offsite-eSATA-Diff (From Command input) <---- Source pool overridden on command line NextPool: Synology-Diff (From Job Pool's NextPool resource) <---- NextPool, set in source pool Read Storage: bacula-file (From Job resource) <---- Bacula should correct this on the fly Write Storage: bacula-syn (From Job Pool's NextPool resource) <---- Storage set in Synology-Diff pool JobId: *None* When: 2024-11-13 18:31:12 Catalog: RevpolCatalog Priority: 25 ----8<---- Additionally, to automate this, the (source) Pool may be overridden in a Schedule like this: ----8<---- Schedule { Name = DailyCopyFromSynology Enabled = yes Run = Pool = Synology-Inc mon-sat at 03:00 <-- Copy jobs from Inc pool every weekday & Saturday Run = Pool = Synology-Diff sun at 04:00 <-- Copy jobs from Diff pool every Sunday } ----8<---- Another option, which is more work to set up and maintain, is to create three CopyControl jobs, one for each level, and set each CopyControl job's Pool to be the Full, Inc, or Diff source pool, then set up Schedules for each of the CopyControl Jobs. I prefer the former. Hope this helps, Bill -- Bill Arlofski w...@protonmail.com <mailto:w...@protonmail.com> _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net <mailto:Bacula-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/bacula-users <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