From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDshX-00037I-0n for qemu-devel@nongnu.org; Wed, 21 Jan 2015 05:39:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDshT-00077G-Qn for qemu-devel@nongnu.org; Wed, 21 Jan 2015 05:39:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]:50084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDshT-00076y-Cv for qemu-devel@nongnu.org; Wed, 21 Jan 2015 05:39:51 -0500 Message-ID: <54BF81F0.9070908@redhat.com> Date: Wed, 21 Jan 2015 11:39:44 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <201501211832330964659@sangfor.com.cn> In-Reply-To: <201501211832330964659@sangfor.com.cn> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [question] incremental backup a running vm List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Zhang Haoyu , qemu-devel , kvm Cc: Fam Zheng , Stefan Hajnoczi 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