[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/3] block: block-backup live backup command
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 0/3] block: block-backup live backup command |
Date: |
Mon, 29 Apr 2013 09:22:44 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sat, Apr 27, 2013 at 01:37:07PM +0800, Wenchao Xia wrote:
> δΊ 2013-4-24 0:25, Stefan Hajnoczi ει:
> > This series adds a new QMP command, block-backup, which takes a
> > point-in-time
> > snapshot of a block device. The snapshot is copied out to a target block
> > device. A simple example is:
> >
> > block-backup device=virtio0 format=qcow2 target=backup-20130401.qcow2
> >
> > The original block-backup blockjob was written by Dietmar Maurer
> > <address@hidden>. He is currently busy but I feel the feature is worth
> > pushing into QEMU since there has been interest. This is my version of his
> > patch, plus the QMP command and qemu-iotests test case.
> >
> > How is this different from block-stream and drive-mirror?
> > ---------------------------------------------------------
> > Both block-stream and drive-mirror do not provide immediate point-in-time
> > snapshots. Instead they copy data into a new file and then switch to it.
> > In
> > other words, the point at which the "snapshot" is taken cannot be controlled
> > directly.
> >
> > block-backup intercepts guest writes and saves data into the target block
> > device before it is overwritten. The target block device can be a raw image
> > file, backing files are not used to implement this feature.
> >
> Besides, compared to snapshot-blkdev, it mainly brings better
> performance by avoid merging later, however, other tool may
> be needed to form an incremental backup, which may be not related to
> this patch.
> No objection to this patch, but perhaps a better way is using
> internal snapshot by adding base/delta data export support.
Yes, incremental backups would need to be added later.
Stefan
- Re: [Qemu-devel] [PATCH 2/3] block: add block_backup QMP command, (continued)
Re: [Qemu-devel] [PATCH 0/3] block: block-backup live backup command, Eric Blake, 2013/04/23
Re: [Qemu-devel] [PATCH 0/3] block: block-backup live backup command, Wenchao Xia, 2013/04/27
- Re: [Qemu-devel] [PATCH 0/3] block: block-backup live backup command,
Stefan Hajnoczi <=