@TheFu:
Hi and thank you so much for your response and the detailed information and also for the links. Much appreciated.
So I tried it out with my VM:
Code:
virsh snapshot-list --domain ubuntu18.04-2
Name Creation Time State
------------------------------------------------------------
snapshot1 2020-06-12 15:31:40 +0200 shutoff
snapshot2 2020-06-12 15:44:43 +0200 running
I had already taken those snaphots from within the virt-manager GUI.
Then:
Code:
virsh dumpxml ubuntu18.04-2 | grep -i qemu
<driver name='qemu' type='qcow2'/>
<source file='/media/rosika/f14a27c2-0b49-4607-94ea-2e56bbf76fe1/für_qemu2/testing-image.img'/>
<source dir='/media/rosika/f14a27c2-0b49-4607-94ea-2e56bbf76fe1/für_qemu2/Austauschverzeichnis'/>
So qcow2 as a result. Looks good.
Now:
Code:
virsh snapshot-create-as --domain ubuntu18.04-2 --name "snapshot_19_06_2020"
And indeed, the new snapshot was created. Fine.
Code:
virsh snapshot-list --domain ubuntu18.04-2
Name Creation Time State
------------------------------------------------------------
snapshot1 2020-06-12 15:31:40 +0200 shutoff
snapshot2 2020-06-12 15:44:43 +0200 running
snapshot_19_06_2020 2020-06-19 13:42:16 +0200 running # new snapshot, created with terminal-command
Plus: when firing up virt-manager GUI this new snapshot is also displayed.
So basically it doesn´t seem to matter whether the snapshot is created by command or within the GUI.
And both ways it´s possible to create the snapshot from a running machine which really suits me well.
Just to be very clear, virtualbox uses a .vdi file for VM storage. That is like a .qcow2 file, but slightly different
Yes, I understand. Thanks for the info. I´d really want to stick to kvm/qemu and qcow2. So there shouldn´t be any problems.
Thank you again for your kind help.
Greetings.
Rosika
Bookmarks