> Date: Thu, 28 Jul 2011 12:22:21 +0100
> From: stefano.stabellini@xxxxxxxxxxxxx
> To: zpfalpc23@xxxxxxxxxxx
> CC: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-devel] Xen support online backup?
>
> On Thu, 28 Jul 2011, pengfei zhang wrote:
> > I recently used the Xen virtual machine backup tools, such as 'xm save'
> > command. And I found that before this tool save the memory and CPU state, it
> > first pauses the VM. Do Xen have same tools for online backup the VMs? If it
> > do not have one, can I saty that Xen don't support VM online backup?
> >
>
> you are probably looking for xl (or xm) save -c:
>
> Usage: xl [-v] save [options] <Domain> <CheckpointFile> [<ConfigFile>]
>
> Save a domain state to restore later.
>
> Options:
>
> -h Print this help.
> -c Leave domain running after creating the snapshot.
Thank you for your reply!
I have tested the command use '-c' option. The virtual machine has about 20 seconds paused.
If the virtual machine works as a server, no user can tolarate 20 seconds access delay, I think.
What I curious is that VMware Workstation have a feature call snapshot manager,
it can make a snapshot of the VM state online, which don't need to pause the
service. How about Xen?
Thanks a lot!
pengfei zhang