1846684 Members
3761 Online
110256 Solutions
New Discussion

snapshots

 
SOLVED
Go to solution
mikejdunphy
Frequent Advisor

snapshots

I am not seeing s snapshot option snapshot under
Infrastructure -> Compute -> virtual machines -> Action

Even if the vm is powered off. Should I be ?

Doing a trial and version is 8.0.6

I took a snapshot live from the command line on the host it was on ... but it doesnt appear in the snapshot list under the

virsh snapshot-create-as \
--domain mjdtest \
--name snap1 \
--description "Live snapshot" \
--disk-only \
--atomic \
--live

error: Operation not supported: live snapshot creation is supported only during full system snapshots

so then I tried the below and it worked

virsh snapshot-create-as \
--domain mjdtest \
--name snap-full \
--description "Full live snapshot" \
--atomic \
--memspec file=/mnt/97fd47ae-aa9a-4fd5-a16e-2af49d9e9fe7/mjdtest/mjdtest.mem


afterward

root@hp-vmessential1:/mnt/97fd47ae-aa9a-4fd5-a16e-2af49d9e9fe7/mjdtest# ll
total 15961960
drwxr-xr-x 2 root root 3864 Jul 31 14:08 ./
drwxr-xr-x 12 root root 3864 Jul 29 21:21 ../
-rw-r--r-- 1 libvirt-qemu kvm 12760514560 Jul 31 14:04 hvm_6-disk-0
-rw------- 1 libvirt-qemu kvm 1835008 Jul 31 14:08 hvm_6-disk-0.snap-full
-rw-r--r-- 1 libvirt-qemu kvm 3213064192 Jul 4 02:46 hvm_6-disk-1
-rw------- 1 root root 1272541941 Jul 31 14:08 mjdtest.mem

1 REPLY 1
davydotcom
Advisor
Solution

Re: snapshots

Hello,

It is important to note, running libvirt / virsh commands directly is not officially a supported operation. Snapshot management will not be tracked in this manner as libvirt snapshot tracking is a bit iffy. Snapshots creation can only be done (currently) from the Provisioning -> Instances -> Instance Details area. If you are trying to snapshot a brownfield vm that is not yet converted to managed in the VME manager, please first convert it and trigger the snapshot from the instance page. There is an active task to add this to the vm details page you mentioned and keep an eye out for that soon.

 

Thank you,
David