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

Regards,

----- Original Message -----
> From: "Josip Deanovic" <djosip+n...@linuxpages.net>
> To: bacula-users@lists.sourceforge.net
> Sent: Tuesday, November 21, 2017 9:02:11 AM
> Subject: Re: [Bacula-users] Bacula and kvm

> On Tuesday 2017-11-21 14:33:55 Thing wrote:
>> I am looking to do the very same thing.  So far I cant seem to find
>> scripts that will actually snapshot the VMs so the "files" can be
>> backed up.  I have found a few that supposedly do so but they dont seem
>> to work.
>> :(
>> 
>> What I am doing now is I am going to use the libvirt shutdown script to
>> shut them down, export /copy them to another mount point and back them
>> up with bacula and either stop the LVM host or restart the 2 VMs.  (I
>> have 2 projects)
> 
> You might want to rethink the angle you are using to solve the problem.
> Maybe you don't need snapshot but just access the file inside the image.
> In that case maybe some library and tools such as libguestfs would be
> of help here.
> 
> --
> 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

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

Reply via email to