>>> > Hello, Bacula Users, >>> > >>> > Until now I think the most elegant way of doing this was not >>> > mentioned. >>> > >>> > 1. ClientRunBeforeJob virsh disk snapshot creation. >>> > 2. Bacula FileSet regular image files backup. >>> > 3. ClientRunAfterJob blockcommit to resume machine state. >>> > >>> > Source: https://gist.github.com/cabal95/e36c06e716d3328b512b >>> >>> I'll add one more link that better explains how it works: >>> https://fedoraproject.org/wiki/Features/Virt_Live_Snapshots >>> >>> Pros: >>> This is nice because the snapshot can be done on the live >>> machine and the writes will be sent to the external file. >>> Once the backup of the original VM image file is performed >>> the snapshot can be (and should be) merged back into the >>> original VM image file. >>> >>> Cons: >>> Don't know if this feature is stable enough and I wouldn't >>> put it into production without heavy testing. >>> I am particularly concerned about the merging the snapshot >>> back to the original image's blocks. If it fails in the process >>> of merging blocks that could result in data loss or at least >>> in the longer downtime while the backed up image is restored. >> >> Another thing that should be taken into consideration. >> https://fedoraproject.org/wiki/Talk:Features/Virt_Live_Snapshots >> >> -- >> Josip Deanovic > > Hello, Josip. Thanks for the warnings. > Anyway, I updated the plugin with the snapshot command and after job roolback > for the YOLO people => https://pastebin.com/wupA7Zj9 > > Regards, > --
Hello, All, Sorry for triple posting this but I corrected some errors from the original script. Now I'm sending a definitive URL for the bpipe KVM backup script that I was working on <http://bacula.us/kvm-hot-online-virtual-machines-backup-with-bacula-bpipe/>. I made some tests and it seems OK. However, extensive backup and restore tests are required as Josip pointed out. Regards -- =========================================================================== Heitor Medrado de Faria | EB-1 Visa | LPIC-III | ITIL-F | EMC 05-001| Bacula Systems Certified Administrator II • Bacula Enterprise does not charge per backup size and has plugins for many applications. In the USA: http://bacula.us/ • Do you need Bacula training? http://bacula.us/video-classes/ • USA +1 (323) 300-5387 | Brazil +55 (61) 98268-4220 | http://bacula.us =========================================================================== ------------------------------------------------------------------------------ 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