On Monday 2017-11-20 11:45:09 Bill Arlofski wrote: [...] > Using a Runscript (with RunsWhen=before), you can have small script to > tell the KVM hypervisor to perform a snapshot of a particular VM. Then, > once the snapshot is complete, the job would backup the VM's config and > disks, then in a second RunScript in the same Job configuration (with > RunsWhen=after) the snapshot could be automatically removed.
He is using qcow2 format. I didn't use it for the last five years but back then creating and removing snapshots with qcow2 was done inside the same image file and by removing the snapshot the used space wasn't freed once it was allocated. I don't know if that changed over the last five years but it would be a good idea to test it before putting it into production and automation. -- Josip Deanovic ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users