WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Backing up "live" Xen systems?

To: Steve Kemp <steve@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Backing up "live" Xen systems?
From: Per Andreas Buer <perbu@xxxxxxxxx>
Date: Wed, 04 Jan 2006 20:47:31 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 04 Jan 2006 19:53:03 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20060104165948.GA23060@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Linpro AS
References: <20060104165948.GA23060@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5 (X11/20051201)
Hi Steve.

Steve Kemp wrote:
  I've been testing Xen for a few weeks now and am just about to
put it into production use. (I wrote some scripts to create Debian images easily; the tools are included in Debian Sid as
 "xen-tools".)

:-)

  The only thing troubling me at the moment is backing up the
 virtual instances.

  I'm looking to run about four virtual systems upon a host.  If
 the physical host dies then I'm going to be in trouble without
 backups!

  I realise I can setup traditional backups within the virtual
 instances using rsync, scp, or a backup agent.  But I'm curious
 about backing up images live.  (Primarily to avoid having to
 setup near identical scripts upon each instance and make sure
 they work correctly.)
If you place your images on LVM you should be able to take a snapshot of the filesystem(s) and mount or dump this (you probably have to fsck the snapshot if you are to use dump). That should be rather painless.

  It strikes me that the live-migration support does a lot of the
 things that a backup of a live system should do - literally sending
 the contents of the systems image + memory to a new host.

Live migration does not migrate the filesystem image - so using it for backup purposes is rather hard. :-)

--
There are only 10 different kinds of people in the world, those who understand binary, and those who don't.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users