Of Sage Weil
Sent: 2013年3月26日 7:39
To: ceph-devel@vger.kernel.org
Subject: prototype incremental rbd backup
The wip-rbd-diff branch has an early prototype of rbd incremental
backup/restore. Currently it works like:
rbd export-diff myimage@to --from-snap from - | \ rbd import-diff -
myimagecopy
The wip-rbd-diff branch has an early prototype of rbd incremental
backup/restore. Currently it works like:
rbd export-diff myimage@to --from-snap from - | \
rbd import-diff - myimagecopy
The import apply the update stream and then create the final 'to' snap
(which is referenced in the
On 11/22/2012 06:57 PM, Stefan Priebe - Profihost AG wrote:
Hi,
Am 21.11.2012 14:47, schrieb Wido den Hollander:
The snapshot isn't consistent since it has no way of telling the VM to
flush it's buffers.
To make it consistent you have to run sync (In the VM) just prior to
creating the
Hi,
Am 21.11.2012 14:47, schrieb Wido den Hollander:
The snapshot isn't consistent since it has no way of telling the VM to
flush it's buffers.
To make it consistent you have to run sync (In the VM) just prior to
creating the snapshot.
Mhm but between executing sync and executing snap is
On 11/22/2012 05:13 AM, Wido den Hollander wrote:
On 11/22/2012 06:57 PM, Stefan Priebe - Profihost AG wrote:
Hi,
Am 21.11.2012 14:47, schrieb Wido den Hollander:
The snapshot isn't consistent since it has no way of telling the VM to
flush it's buffers.
To make it consistent you have to
Hi Josh,
Am 22.11.2012 22:08, schrieb Josh Durgin:
This way you have a pretty consistent snapshot.
You can get an entirely consistent snapshot using xfs_freeze to
stop I/O to the fs until you thaw it. It's done at the vfs level
these days, so it works on all filesystems.
Great thing we
Hello list,
is there a recommanded way to backup rbd images / disks?
Or is it just
rbd snap create BACKUP
rbd export BACKUP
rbd snap rm BACKUP
Is the snap needed at all? Or is an export save? Is there a way to make
sure the image is consistent?
Is it possible to use the BACKUP file as a
Hi,
On 11/21/2012 09:37 PM, Stefan Priebe - Profihost AG wrote:
Hello list,
is there a recommanded way to backup rbd images / disks?
Or is it just
rbd snap create BACKUP
rbd export BACKUP
You should use:
rbd export --snap BACKUP img dest
rbd snap rm BACKUP
Is the snap needed at all? Or
Hi Wido,
thanks for all your explanations.
This doesn't seem to work:
rbd export --snap BACKUP img dest
rbd -p kvmpool1 export --snap BACKUP vm-101-disk-1 /vm-101-disk-1.img
rbd: error setting snapshot context: (2) No such file or directory
Or should i still create and delete a snapshot
Hi,
On 11/21/2012 09:56 PM, Stefan Priebe - Profihost AG wrote:
Hi Wido,
thanks for all your explanations.
This doesn't seem to work:
rbd export --snap BACKUP img dest
rbd -p kvmpool1 export --snap BACKUP vm-101-disk-1 /vm-101-disk-1.img
rbd: error setting snapshot context: (2) No such
10 matches
Mail list logo