[sheepdog-users] 答复: does sheepdog support live snapshot?

redtone kelphon at redtone.hk
Fri Dec 27 15:23:05 CET 2013


Thank you.

I want to setup a weekly backup of vdi disk.
The following is the weekly cron task shell.

dog vdi delete -s weekly vdiname
dog vdi snapshot -s weekly vdiname

is there any risk on data lost ?


-----邮件原件-----
发件人: Liu Yuan [mailto:namei.unix at gmail.com] 
发送时间: 2013年12月27日 15:53
收件人: redtone
抄送: sheepdog-users at lists.wpkg.org
主题: Re: [sheepdog-users] does sheepdog support live snapshot?

On Thu, Dec 26, 2013 at 10:09:07PM +0800, redtone wrote:
> Does sheepdog can support create VM's disk snapshot when the VM is
running?

Yes and you need latest QEMU such as v1.7

Do a live snapshot which stores disk + memory state:
 $ qemu monitor > savevm

Do a live disk-only snapshot:
 $ qemu-img snapshot -c tag sheepdog:your_image
 or 
 $ dog vdi snapshot -s tag your_image

Thanks
Yuan




More information about the sheepdog-users mailing list