]> git.ipfire.org Git - thirdparty/bacula.git/commit
fix wrong "Last Volume Bytes" in VirtualFull
authorAlain Spineux <alain@baculasystems.com>
Tue, 6 Dec 2022 10:35:08 +0000 (11:35 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:57:00 +0000 (13:57 +0200)
commit7c49edaca209fe9aebcba43f52f2bebad5787972
treee9208d7a4dac0e9d1ed5dca0c3ac3c7367d9b298
parent814889797e8ad4833a86a8b87908498eb5397f79
fix wrong "Last Volume Bytes" in VirtualFull

- the data was coming from the last volume that was READ instead
  of the last WTRITTEN one
- the problem don't show up in copy/migrate
- unify the code to retrieve this information for VF & MAC
  - extent get_job_volume_names() to also return the last written volume
bacula/src/cats/bdb.h
bacula/src/cats/protos.h
bacula/src/cats/sql_get.c
bacula/src/dird/backup.c
bacula/src/dird/mac.c
bacula/src/dird/ua_output.c
bacula/src/dird/vbackup.c