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] Re: Xen, LVM and snapshots

To: Lists <lists@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] Re: Xen, LVM and snapshots
From: Nick Anderson <nick@xxxxxxxxxxxx>
Date: Thu, 16 Oct 2008 08:08:42 -0500
Cc: morten@xxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 16 Oct 2008 06:09:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9088725.351224156948018.JavaMail.root@xxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <m3fxmw3je8.fsf@xxxxxxxxxxxxxxxxxxx> <9088725.351224156948018.JavaMail.root@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.17+20080114 (2008-01-14)
On Thu, Oct 16, 2008 at 11:35:48AM +0000, Lists wrote:
> I asked the same question a few posts down and was told that taking a 
> snapshot of a running system could lead to some corrupted files.
> I recommend you look for "[Xen-users] Xen backups using LVM Snapshots" and 
> make your own decision from there.
> Best of luck.
If you snapshot a running system without saving both the memory state
and swap state you could have issues with inconsistent data.

It has always been my understanding that xm-save, lv-snapshot (all
partitions including swap), xm-restore, dd snapshotx imgfilex, delete
snapshot volumes,  backup xm save checkpoint.

Would leave you with consistent disk state being that you have
everything to power the  machine back on at time of snapshot.
There may be some corruption in specific applications due to
processing something over the network that is no longer there, or that
has changed since the backup. But as far as I can tell your base os
should be intact. If you combine that will application level backups
you will probably be ok. Worst case take img backup restore, then
restore from latest application backup. 

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