qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] could i using qemu-img covert && rebase -u to do qcow2 rollback?
@ 2015-12-30 11:31 Huan Zhang
  2015-12-31  1:12 ` Huan Zhang
  2016-01-04 17:45 ` Max Reitz
  0 siblings, 2 replies; 5+ messages in thread
From: Huan Zhang @ 2015-12-30 11:31 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 508 bytes --]

Hi,
We are finding a way to do rollback for qcow2 in production environment,
But we can't ensure the below way will work well, and user data are safe.

for example,
snap0.qcow2 -> snap1.qcow2 ->snap2.qcow2 -> active.qcow2

rollback to snap1 using convert && rebase -u:
1. qemu-img convert -O qcow2 snap1.qcow2 rollback.qcow2
2. qemu-img -u -b snap2.qcow2 rollback.qcow2

Test pass with data.  But in theory, could someone give me a positive
answer?

Appreciate to get your reply!


Best Regards.
Huan Zhang.

[-- Attachment #2: Type: text/html, Size: 846 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-01-06 15:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-30 11:31 [Qemu-devel] could i using qemu-img covert && rebase -u to do qcow2 rollback? Huan Zhang
2015-12-31  1:12 ` Huan Zhang
2016-01-04 17:45 ` Max Reitz
2016-01-04 17:54   ` Eric Blake
     [not found]   ` <CAFU9Conh77-Xgib5MAFnmFE7OVt19A=KgB0=Da=Rk47B-9Bcrw@mail.gmail.com>
2016-01-06 15:39     ` Max Reitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).