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

Re: [Xen-users] Xen Backup Method


  • To: Brian Krusic <brian@xxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.