[fedora-virt] How to revert an external snapshot
Dario Lesca
d.lesca at solinos.it
Wed Mar 4 14:16:32 UTC 2015
I have generate an external snapshot with this command:
> vm='win7-64'
>
> virsh snapshot-create-as "$vm" "$vm-snap1" "snap1 description" \
> --diskspec vda,file="/virt/$vm-snap1.qcow2" \
> --disk-only --atomic
My virsh / libvirt is the last from Fedora 21
> [root at dodo:/virt]# virsh --version
> 1.2.9.2
Now I have this situation:
> [root at dodo:/virt]# ll win7-64*
> -rw-r--r-- 1 qemu qemu 17182753280 4 mar 14.14 win7-64.qcow2
> -rw-r--r-- 1 root root 558628864 4 mar 14.35 win7-64-snap1.qcow2
>
> root at dodo:/virt]# virsh snapshot-list win7-64
> Nome Creation Time Stato
> ------------------------------------------------------------
> win7-64-snap1 2015-03-04 14:21:15 +0100 shutoff
But if I run the revert command this is the result:
> [root at dodo:/virt]# virsh snapshot-revert win7-64 win7-64-snap1
> errore: unsupported configuration: revert to external snapshot not supported yet
There is some way to revert my vm to previous state?
Many thanks for help.
--
Dario Lesca
(inviato dal mio Linux Fedora 21 con Gnome 3.14)
More information about the virt
mailing list