From: Huan Zhang <huan.zhang.jn@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] could i using qemu-img covert && rebase -u to do qcow2 rollback?
Date: Wed, 30 Dec 2015 19:31:13 +0800 [thread overview]
Message-ID: <CAFU9Con42dfvjucMWduRvUXMjrS-_aDTV43_ofMhHSFbEZ6b_Q@mail.gmail.com> (raw)
[-- 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 --]
next reply other threads:[~2015-12-30 11:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-30 11:31 Huan Zhang [this message]
2015-12-31 1:12 ` [Qemu-devel] could i using qemu-img covert && rebase -u to do qcow2 rollback? 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFU9Con42dfvjucMWduRvUXMjrS-_aDTV43_ofMhHSFbEZ6b_Q@mail.gmail.com \
--to=huan.zhang.jn@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).