From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [question] incremental backup a running vm Date: Wed, 21 Jan 2015 11:39:44 +0100 Message-ID: <54BF81F0.9070908@redhat.com> References: <201501211832330964659@sangfor.com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: Stefan Hajnoczi , Fam Zheng To: Zhang Haoyu , qemu-devel , kvm Return-path: Received: from mx1.redhat.com ([209.132.183.28]:58065 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751727AbbAUKj7 (ORCPT ); Wed, 21 Jan 2015 05:39:59 -0500 In-Reply-To: <201501211832330964659@sangfor.com.cn> Sender: kvm-owner@vger.kernel.org List-ID: On 21/01/2015 11:32, Zhang Haoyu wrote: > Hi, > > Does drive_mirror support incremental backup a running vm? > Or other mechanism does? > > incremental backup a running vm requirements: > First time backup, all of the allocated data will be mirrored to destination, > then a copied bitmap will be saved to a file, then the bitmap file will log dirty for > the changed data. > Next time backup, only the dirty data will be mirrored to destination. > Even the VM shutdown and start after several days, > the bitmap will be loaded while starting vm. > Any ideas? Drive-mirror is for storage migration. For backup there is another job, drive-backup. drive-backup copies a point-in-time snapshot of one or more disks corresponding to when the backup was started. Incremental backup is being worked on. You can see patches on the list. Paolo