As has been pointed out, libvirt provides a means of snapshotting a live VM's storage, so it is quite possible to backup images from the host machine. That said, I strongly suggest you consider the following.

While the disk image approach simplifies backup, it complicates restores. There is no way to restore a few files to the VM, at least not without restoring the entire image and then manually using guestfs to extract the needed files. Disk image backups complicate restoring files to a live VM. My experience is that user errors, inadvertent deletes, etc., are far more frequent than disaster recovery situations, and so installing bacula-fd on the VM has worked better for me.

For disaster recovery, I keep a small image file that has OS and bacula-fd to be used as a "bare metal" boot disk. This can be dd'd to the VM's disk image so that the VM can be booted, and then a normal restore can be performed from bconsole on the host, just as would be done for a real machine.


On 11/20/2017 6:41 AM, Gokan Atmaca wrote:
Hello

I'm going to use Bacula for the first time. I have a virtual server
running on 10 KVM. Is it a problem if I back up all of them with
Bacula? I have Qcow2 disk images. I want to backup these disk images
just like a file.

Is this a problem ?

Thank you in advance for your help.

------------------------------------------------------------------------------
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


------------------------------------------------------------------------------
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

Reply via email to