Re: [Qemu-devel] [question] incremental backup a running vm

2015-01-26 Thread Zhang Haoyu
On 2015-01-26 19:29:03, Paolo Bonzini wrote: > > On 26/01/2015 12:13, Zhang Haoyu wrote: > > Thanks, Paolo, > > but too many internal snapshots were saved by customers, >> switching to external snapshot mechanism has significant impaction > > on subsequent upgrade. > > In that case, patches are w

Re: [Qemu-devel] [question] incremental backup a running vm

2015-01-26 Thread Paolo Bonzini
On 26/01/2015 12:13, Zhang Haoyu wrote: > Thanks, Paolo, > but too many internal snapshots were saved by customers, > switching to external snapshot mechanism has significant impaction > on subsequent upgrade. In that case, patches are welcome. :) > Another problem: > drive_backup just implemen

Re: [Qemu-devel] [question] incremental backup a running vm

2015-01-26 Thread Zhang Haoyu
On 2015-01-26 17:29:43, Paolo Bonzini wrote: > > On 26/01/2015 02:07, Zhang Haoyu wrote: > > Hi, Kashyap > > I've tried ‘drive_backup’ via QMP, >> but the snapshots were missed to backup to destination, > > I think the reason is that backup_run() only copy the > > guest data regarding qcow2 image.

Re: [Qemu-devel] [question] incremental backup a running vm

2015-01-26 Thread Paolo Bonzini
On 26/01/2015 02:07, Zhang Haoyu wrote: > Hi, Kashyap > I've tried ‘drive_backup’ via QMP, > but the snapshots were missed to backup to destination, > I think the reason is that backup_run() only copy the > guest data regarding qcow2 image. Yes, that's the case. QEMU cannot still access interna

Re: [Qemu-devel] [question] incremental backup a running vm

2015-01-25 Thread Zhang Haoyu
On 2015-01-23 07:30:19, Kashyap Chamarthy wrote: >On Wed, Jan 21, 2015 at 11:39:44AM +0100, Paolo Bonzini wrote: > > > > > > On 21/01/2015 11:32, Zhang Haoyu wrote: > > > Hi, >> > > > > Does drive_mirror support incremental backup a running vm? > > > Or other mechanism does? > > > >> > increme

Re: [Qemu-devel] [question] incremental backup a running vm

2015-01-23 Thread Kashyap Chamarthy
On Wed, Jan 21, 2015 at 11:39:44AM +0100, Paolo Bonzini wrote: > > > 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 o

Re: [Qemu-devel] [question] incremental backup a running vm

2015-01-23 Thread Kashyap Chamarthy
On Wed, Jan 21, 2015 at 11:39:44AM +0100, Paolo Bonzini wrote: > > > 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 o

Re: [Qemu-devel] [question] incremental backup a running vm

2015-01-21 Thread Paolo Bonzini
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 b

[Qemu-devel] [question] incremental backup a running vm

2015-01-21 Thread Zhang Haoyu
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 fo