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] Best practice to backup dom0 and all domU's

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Best practice to backup dom0 and all domU's
From: Andris <andris@xxxxxxxx>
Date: Tue, 25 Mar 2008 14:20:41 +0200
Delivery-date: Tue, 25 Mar 2008 05:21:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47E8F5DE.8030803@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>
References: <47E8F5DE.8030803@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (X11/20070814)
Darren wrote:
> What is the preffered or suggested way to backup a dom0 and all domU's
> while system is up and running ? Thanks
>
> Darren
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>
I use lvm filesystem for DomU's and backup via lvm snapshots.


In detail:
I have Dom0 with md (software mirror) and lvm on top.
Nightly I make lvm snapshot for each DomU (make sure that it is large
enough not to overfill while doing backup).
Then I export those lvm snapshots to dedicated backup DomU which boots
on and after backup job shuts down itself.
Then remove snapshots.

I use this in production successfully for a couple of months.

andris


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