search for: _redefine

Displaying 2 results from an estimated 2 matches for "_redefine".

Did you mean: redefine
2019 Aug 13
2
Recover snapshots from qcow images
Hi guys, I had to move to the new laptop week ago and I screw migration of my virtual machines. I recovered my virtual machines on the new laptop (virsh define) using the backed up xml files, but I am missing any file with metadata about snapshots. The original storage is cleaned so I cannot take these files anymore. Using qemu-info I can see my snapshots inside the qcow images, but libvirt
2019 Aug 14
0
Re: Recover snapshots from qcow images
...s so you must recreate the metadata to be able to use them. If you didn't modify your configuration of the VM between the time you took the snapshot and the current point it should be fairly straightforward to recover them, but it will require some manual steps. The snapshot creation api has a _REDEFINE flag which allows to create the snapshot metadata without actually doing any disk changes. (virsh snapshot-create --redefine). For this to happen you must prepare a definition of the snapshot. I'll provide an example with anotations what to update: <domainsnapshot> <name>1565701...