Just save this data near main snapshot data (e.g. in
/var/lib/libvirt/qemu/snapshot/<domain-name>/<snapshot-hash>)
and restore it on previous or specified path.
On 01/25/2016 11:46 AM, Daniel P. Berrange wrote:
On Sat, Jan 23, 2016 at 03:17:43PM +0300, Alexander Burluka wrote:
Hello!
Currently our Virtuozzo company is working on some kind of management tool
for libvirt. We encountered some problems with snapshots while development.
So I would like to ask community a few questions:
1) Would you mind if I extend current libvirt snapshot with ability to add
arbitrary data (blob or some config files)?
2) Would this feature be useful for your users?
I see it as something like:
virsh snapshot-create VM1 --blob /path/to/some-file
virsh snapshot-revert VM1 <number>
and /path/to/some-file appeared again.
You don't really explain what you would want libvirt to do with this
data ?
Regards,
Daniel
--
Regards,
Alexander Burluka
--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list