bareos: bareos-17.2 ac363923

Author Committer Branch Timestamp Parent Ported
arogge_adm arogge_adm bareos-17.2 2019-04-15 12:45:48 bareos-17.2 c809330c Pending
Affected Issues  0001030: bscan does not work for migration and copy jobs
Changeset Squashed commit of the following:

commit 613a5f21949a09c137db0a75919aac1821541194
Author: Andreas Rogge <andreas.rogge@bareos.com>
Date: Wed Apr 10 12:42:31 2019 +0200

    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.

commit 88d91974d902a6b164f372d6136da60a1f836df7
Author: Andreas Rogge <andreas.rogge@bareos.com>
Date: Wed Apr 10 12:36:41 2019 +0200

    bscan: fix crash on excessive SOS records

    Previously the bscan utility crashed when it read a volume that
    contained excessive SOS records (i.e. more SOS than EOS records) and was
    asked to sync these to the database.
    This patch fixes that crash so that volumes with broken SOS/EOS can now
    be scanned again.
mod - src/stored/bscan.c Diff File
mod - src/stored/mac.c Diff File