Re: [Qemu-devel] Question regarding Snapshots

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

 



On Mon, Feb 27, 2017 at 01:33:56PM +0100, Kashyap Chamarthy wrote:

[...]

> > > Can you make a snapshot, then go back to the base and ignore that snapshot
> > > like a closed branch, make another snapshot, and then go back and forth
> > > from each to each?
> 
> If you edit the '--disk' element as above and point to the right
> 'snapshot', you should be able to switch between several of them.

[...]

> And conveniently, you can tell libvirt to not track the metadata:
> 
>   $ virsh snapshot-create-as --domain vm1 guest-state1 \
>       --diskspec vda,file=/export/overlay1.qcow2 \
>       --disk-only --atomic --no-metadata
> 
> This way, libvirt will not track 'overlay1.qcow2'.  But if you do need
> it, as you know, just update the 

Err, unfinished sentence there.  Meant to write: just update the
'source file' attribute in the guest XML, pointing to the said disk.

> For the long answer to the complications involved in reverting to
> external snapshots, refer this (long read):
> 
> https://wiki.libvirt.org/page/I_created_an_external_snapshot,_but_libvirt_will_not_let_me_delete_or_revert_to_it

[...]

-- 
/kashyap

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux