All of lore.kernel.org
 help / color / mirror / Atom feed
From: zign <zign@hongo.wide.ad.jp>
To: Brendan Cully <brendan@cs.ubc.ca>
Cc: xen-devel@lists.xensource.com
Subject: Re: Does XEN have any hot backup/snapshot features or plan?
Date: Mon, 06 Apr 2009 09:16:40 +0900	[thread overview]
Message-ID: <49D949E8.80105@hongo.wide.ad.jp> (raw)
In-Reply-To: <20090405235450.GD53590@zanzibar.kublai.com>

Mr Brendan Cully,
Thank you for your fast reply!
LVM + checkpoint sounds reasonable, but there is problem:
if the storage and the MEM checkpoint are not saved in the
very same time, I am not sure if this is a "correct" snapshot.
You mentioned something about the migration hook that can tie
the MEM checkpoint and the LVM snapshot together. Can this
migration hook ensure that there is no "time-shift" between the
MEM and storage?

Brendan Cully 写道:
> On Monday, 06 April 2009 at 08:47, zign wrote:
>   
>> Hello everybody,
>>  My name is Zign and I would like to ask a simple question.
>>  For example, I want to backup my VMs everyday. But I do not
>> want them to be stopped while the backup. For this reason, I can't
>> use a traditional way like:  freeze the VM  -> backup everything ->
>> restore the VM.
>>  So is there any solution for this?
>>     
>
> I don't know of a complete tool, but the parts are all there. xm save
> -c creates a checkpoint of a VM without destroying it, and LVM lets
> you easily snapshot a disk. You can tie them together using the
> external device migration hook in xend -- I think I posted a demo
> script to this list many months ago that does this.
>
> I can't remember whether xm save -c also supports --live in xend, but
> if not it's a trivial change that can reduce the time that the VM is
> paused for backup to almost nothing. The checkpoints may be larger in
> that case, but they can be folded down to simple images afterwards. I
> have a script somewhere around here that does this rewriting, but I
> haven't used it in some time.
>
> You might also think about running your VM on parallax, and saving its
> images there too -- parallax can figure out the deltas between series
> of images for you automatically.
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
>   


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Zhao Yue
  Esaki Laboratory,
  Information Physics & Communication Engineering,
  Graduate School of Information Science and Technology,
  The University of Tokyo
Email: zign@hongo.wide.ad.jp
       zign@zign.cn

  reply	other threads:[~2009-04-06  0:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-05 23:47 Does XEN have any hot backup/snapshot features or plan? zign
2009-04-05 23:53 ` Thiago Camargo Martins Cordeiro
2009-04-05 23:54 ` Patrick Colp
2009-04-05 23:54 ` Brendan Cully
2009-04-06  0:16   ` zign [this message]
2009-04-06  0:24     ` Brendan Cully
2009-04-06  1:01 ` Rogerio Ferreira
2009-06-14  8:48 ` Omar BENHAMID
2009-06-15 20:25   ` Dutch Meyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49D949E8.80105@hongo.wide.ad.jp \
    --to=zign@hongo.wide.ad.jp \
    --cc=brendan@cs.ubc.ca \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.