bareos2015: bareos-12.4 8d1b73db

Author Committer Branch Timestamp Parent Ported
mvwieringen mvwieringen bareos-12.4 2013-07-25 16:26:27 bareos-12.4 f86a2c3b Pending
Affected Issues  0000211: wrong data/output/calculation in log of "Last Volume Bytes" and "Volume Session Time" when doing Virtual Full Backups
Changeset Fix backup summary.

Always lookup the media record of the last used volume after calling
db_get_job_volume_names() so we always print the right info and not
lookup the media record based on the current content of jcr->VolumeName
which works only for normal backups but not for virtual fulls as there
it will have the name of the last volume that was read for creating the
virtual full. Looking at the migration code it also does a lookup
of the last volume name returned by db_get_job_volume_names() there.

Fixes 0000211: Wrong data/output/calculation in log of "Last Volume Bytes"
            and "Volume Session Time" when doing Virtual Full Backups
mod - src/dird/backup.c Diff File
mod - src/dird/ndmp_dma.c Diff File
mod - src/dird/protos.h Diff File
mod - src/dird/vbackup.c Diff File