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] Xen Backup Method

To: Brian Krusic <brian@xxxxxxxxxx>
Subject: Re: [Xen-users] Xen Backup Method
From: Thomas Jensen <tom.jensen@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 07 Apr 2009 16:25:29 -0500
Cc: Umut Arus <umuta@xxxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 07 Apr 2009 14:26:14 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=digitaltoolbox-inc.com; h= message-id:date:from:to:cc:subject:references:in-reply-to :mime-version:content-type:content-transfer-encoding; s=mail; bh=M+SS2Z7VEKm/ai4I4a6yoSsDvu4=; b=tQPOXjVL5hRhPqqEcYLvUTZ1Tx1L jjmNbOLqUUVaAUKLqpEUPV7kREJ0MSQVOS3D+WuhMZvSWStTC5by1l1jceWFTVdz CYn1i2WGOZ5ZHymee9D2ccQ0FqMKO+CUwETmkHLIZO6eGyLUayVNqFrbcMEiyJIz durbvZMBobt6d/s=
Domainkey-signature: a=rsa-sha1; c=nofws; d=digitaltoolbox-inc.com; h= message-id:date:from:to:cc:subject:references:in-reply-to :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=i+MkSSHp6s5mZWmMyMjzhPBDdzpHaNvxNYJtsuLAQZoS9W1xLDUdYs+2 pzl8rlOTQ6p9gM22FGsw54Pv+Sha2L2LLQ8YiqQHNANPz1pT6l69FbVcKWE5NROk kU0aDjYL2LIBTiPVPxeZGTEgPN2F5eDOh2EBDVBanJHKk6sod6U=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <EC42EC82-55E4-4834-9270-90F591A42F88@xxxxxxxxxx>
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: <49D4C940.6090807@xxxxxxxxxxxxxxx> <90eb1dc70904020806k3b65018eh9378f7554295eb45@xxxxxxxxxxxxxx> <EBEEB3C8FBD6B0448AEDF986B303BEB60ED883D9@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1239130017.8471.34.camel@xxxxxxxxxxxxxxxxxxx> <90eb1dc70904071230n98b98cdudbf78db6f4ee3ed6@xxxxxxxxxxxxxx> <49DBBF25.6010306@xxxxxxxxxxxxxxx> <EC42EC82-55E4-4834-9270-90F591A42F88@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1)
I have a similar script but it does not perform the first step (pausing DomU) before running. Do you care to share the syntax of that step in your script?


Tom Jensen | President
Digital Toolbox

Quoting Brian Krusic <brian@xxxxxxxxxx>:

Hi Umut,

I cron a script running once every early morning that does;

1 - pause the domUs * optional, but state will be accurate if paused.
2 - create/recreate a snapshot of the volume where my dom0/domUs live.
3 - mount a separate drive and dump/restore the snapshot onto a separate drive.
4 - unmount the drive.
5 - send mail when all is done.

- Brian




On Apr 7, 2009, at 2:01 PM, Umut Arus wrote:

Hello,

I want to properly backup on virtual servers. Has anyone tried lvm backup with scripts or scheduled commands everyday? Could you shared with me? And should be guests and Dom0 shutoff state before snapshot?

Another one, which directories should backup other than /var/lib/xen/ images?

thanks,

Javier Guerra wrote:

On Tue, Apr 7, 2009 at 1:46 PM, Kevin Fox <Kevin.Fox@xxxxxxx> wrote:

Has anyone tried using 2.6.29 file system freezing with lvm  snapshotting
yet? That should solve the possible corrupt filesystem problem.

sounds promising.  but:

1: its done from 'inside' the VM, so it might allow better network
backup systems but not replace them.

2: it does nothing about complex applications with their own caches
and file structures: IOW, databases.  if you get an 'in VM' snapshot
capability, you still have to flush caches and suspend operations for
the snapshot.



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





----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

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