On 9/26/2011 3:54 PM, Tobias Schenk wrote: > Am 26.09.2011 20:33, schrieb Josh Fisher: >> On 9/20/2011 5:40 AM, Adrian Reyer wrote: >>> On Sun, Sep 18, 2011 at 05:47:34PM +0200, Tobias Schenk wrote: >>>> I try use bacula 5.0.3 on suse linux to backup lvm snapshots. >>>> I cannot simply mount /dev/dm-6 to somewhere because the contents is a >>>> partitioned raw device of a kvm instance. >>> You could check the path with something like 'ls -l'. >>> On the other hand, you could use 'kpartx' and make the snapshots >>> partitions actually mountable if you 'speak' the used filesystem. The >>> benefit would be you only backup teh changed files in an incremental >>> backup instead of having to save the whole image even with one byte >>> changed. >>> In my installations I ahd always been able to just run a baclua-fd >>> inside the KVM, though. >> Yes, running bacula-fd in the VM should certainly be considered. It >> offers several advantages. For one thing, it is far simpler to restore a >> file to a running VM. In my case, the VMs run in a Pacemaker cluster >> with LVs on DRBD storage, so trying to backup LVM snapshots on the node >> that the VM happens to be running on was far more complex than just >> running bacula-fd in the VMs > I agree to your argument in general. My VMs have minimum two virtual > disks. One containig the 'system' which rarely changes and others > containing the 'data' like webserver spaces, DMS and so on. For the > latter I use bacula-fd. > But for the 'system' I like to use the lvm snapshots. It appears to me > that I can move the whole vm construct much more quickly around and > always get a bootable vm system without bootstraps or whatever. I do > this on amateur scale for a small at-home solution. > If I accidently destroy the 'system' like rm -r *, which embarassingly > already happened, I can just restore the snapshot, run the vm and > restore the data. I figure I would have some more steps to do to restore > a vm otherwise. But maybe that is just my ignorance.
We do nearly the same thing. Since all of my VMs are identical Centos 6 systems except for data, I use a single disk image for all VMs, rather than individual LVM snapshots for each VM. Same concept. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users