]> git.ipfire.org Git - thirdparty/bacula.git/commit
Fix the jobLevel, fileSet and Client into Copy/Migrate-job
authorAlain Spineux <alain@baculasystems.com>
Fri, 31 Jul 2020 13:57:14 +0000 (15:57 +0200)
committerEric Bollengier <eric@baculasystems.com>
Tue, 1 Mar 2022 14:36:17 +0000 (15:36 +0100)
commit2ea96a75bc234df1da8a4cf02496604b428bc07d
tree1b9e410374dc33f2eac7d6ba6ed2beb112b4fe8e
parent821232240647f1bbe132a6169c457378b48299a9
Fix the jobLevel, fileSet and Client into Copy/Migrate-job

- Use the FileSet, and the Client from the Job Record instead of the Job
  resource.
- Use the JobLevel from the JobRecord, it was wrongly set to copy-job Level
  in "Fix bug #2286 copied jobs always have level=Incremental"
- These values can all be overwritten in the command line or by the
  Scheduler, that is why they must be taken from the Job Record.
- Notice that values copied into wjcr goes into the volume and then
  a bscan of the copy should restore the right value into the catalog
bacula/src/dird/mac.c