bareos: master 1e9af0fb

Author Committer Branch Timestamp Parent Ported
arogge_adm arogge_adm master 2019-04-10 12:42:31 master 1ac932c5 Pending
Affected Issues  0001030: bscan does not work for migration and copy jobs
Changeset stored: do not write duplicate SOS during MAC run

Fixes 0001030: bscan does not work for migration and copy jobs

Previously when running a migrate, copy or virtual full backup the
resulting volume contained not one but two SOS records. The newly
generated one and the original one.

This patch now makes sure that only the newly generated SOS record is
written to the destination volume.
This patch also makes sure that the fields job_name, client_name,
fileset_name and fileset_md5 are written in the new SOS.
mod - core/src/stored/mac.cc Diff File