[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] booting a snapshot



Hello,

On Wednesday 21 March 2012 08:02:08 Pankaj Rawat wrote:
> I have created a snapshot of qcow2 image as
>
> qemu-img  create -f qcow2 -b guestqcow2 snapshot1
>
> now I want to boot from this snapshot but I don't know how

You remove that snapshot file (or move it aside) and create the samefile again 
with exactly the same command you used above. Then you're back to the state 
as of 'guestqcow2'.
"snapshot1" only stores the delta relative to "guestqcow2", so all your 
changes are in that file. To undo them, you just need to to forget those 
changes and start with a new snapshot file, where the delta is zero.

Hope that helps.

Sincerely
Philipp
-- 
Philipp Hahn           Open Source Software Engineer      hahn univention de
Univention GmbH        be open.                       fon: +49 421 22 232- 0
Mary-Somerville-Str.1  D-28359 Bremen                 fax: +49 421 22 232-99
                                                   http://www.univention.de/

Attachment: signature.asc
Description: This is a digitally signed message part.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]