[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kvm virtualization, consistent guest backup



On Sun, Aug 15, 2010 at 03:50:28PM +0000, T o n g wrote:
> On Sun, 15 Aug 2010 16:00:26 +0200, Martin Kraus wrote:
> 
> > Is there a
> > way to make consistent backups of the guest without shutting them down?
> > The major problem I see is that there's no way to freeze a filesystem
> > inside a guest to make an lvm snapshot from the host.
> 
> Have you considered making live backups from inside the guest on to USB 
> HDDs since kvm supports them just fine?

The problem isn't where to backup but how. the problem is to get consistent
filesystem, consisten data in the filesystem and who know what other problems.
what I was surprised about is that there is really no documentation or usable
howto besides how to backup your desktop or small bussiness server. 

What I need is to backup several virtual hosts with 20 or so guests with as
little downtime as possible. Simplest way so far is to shutdown the guest,
make a snapshot and start it again and then backup data from that snapshot. 

I would like to find out if there is something more usable than that. If linux
gets used in enterprise environments it has to be able to backup itself
without turning off the guest but I see several problems with that and I can't
find any answers to them.

mk


Reply to: