Kashyap Chamarthy
2018-Feb-16 15:54 UTC
Re: [libvirt-users] snapshot of a raw file - how to revert ?
On Fri, Feb 16, 2018 at 04:37:38PM +0100, Lentes, Bernd wrote: [...]> Hi, > > again thanks for your quick answer. I had a look on > https://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit > and i liked it. I'm thinking of upgrading my systems to SLES 12 SP3. > With that i have qemu 2.9.1 and libvirt 3.3.0, so it should work.Yep.> Does this procedure also work with raw files ?Your *base* image can (IIRC) be raw, but all the overlay files _must_ be QCOW2. But again, you can test it in 10 minutes on a VM :-) -- /kashyap
Hi, i just realized that i have a guest with two disks. What would be the appropiate way to snapshot both of them ? virsh snapshot-create-as --domain guest --diskspec vda,file=/path/to/snapshot/snapshot1.qcow2 -disk-only --atomic && virsh snapshot-create-as --domain guest --diskspec vdb,file=/path/to/snapshot/snapshot2.qcow2 -disk-only --atomic or virsh snapshot-create-as --domain guest --diskspec vda,file=/path/to/snapshot/snapshot1.qcow2 --diskspec vdb,file=/path/to/snapshot/snapshot2.qcow2 --disk-only --atomic Bernd Helmholtz Zentrum Muenchen Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH) Ingolstaedter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Heinrich Bassler, Dr. Alfons Enhsen Registergericht: Amtsgericht Muenchen HRB 6466 USt-IdNr: DE 129521671
Kashyap Chamarthy
2018-Mar-29 09:23 UTC
Re: [libvirt-users] snapshot of a guest with two disks
On Tue, Feb 20, 2018 at 11:35:12AM +0100, Lentes, Bernd wrote: (Just noticed this question.)> Hi, > > i just realized that i have a guest with two disks. What would be the > appropiate way to snapshot both of them ?[...]> or > > virsh snapshot-create-as --domain guest --diskspec > vda,file=/path/to/snapshot/snapshot1.qcow2 --diskspec > vdb,file=/path/to/snapshot/snapshot2.qcow2 --disk-only --atomicThe above should work. [...] -- /kashyap