Re: snapshot of a raw file - how to revert ?

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

 



On Thu, Feb 15, 2018 at 11:41:37AM +0100, Lentes, Bernd wrote:

[...]

> Hi,
> 
> i found that: https://dustymabe.com/2015/01/11/qemu-img-backing-files-a-poor-mans-snapshotrollback/
> 
> I tried it and it seemed to work, although my root fs was checked
> after the commit, anything else seemed to work.  What do you think of
> this procedure ?

Instead of 'qemu-img create', I'd suggest using `virsh
snapshot-create-as` (as shown in my previous email).   This will tell
libvirt to automatically use the just created QCOW2 overlay.

But yeah, one useful bit is to use the `virt-xml` tool to point to the
desired disk image (instead of `virsh edit` that I mentioned in the
previous email):

    $ virt-xml F21server --edit target=vda \
        --disk driver_type=raw,path=./A.raw


-- 
/kashyap

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux