Virsh Snapshots

From wikieduonline
Jump to navigation Jump to search


qcow2 internal snapshots are best avoided in favour of extenal snapshots. [1], they do not get much attention.[2]


Libvirt Snapshot releated changelog[edit]

  • v5.6.0 (2019-08-05)
    • qemu: Allow XML validation for snapshot creation
Add flag VIR_DOMAIN_SNAPSHOT_CREATE_VALIDATE to validate snapshot input XML. For virsh, users can use it as virsh snapshot-create --validate
  • v5.2.0 (2019-04-03)
    • snapshots: Add support for topological listings
  • v5.1.0 (2019-03-04)
    • External snapshot metadata redefinition is fixed
Attempting to use VIR_DOMAIN_SNAPSHOT_CREATE_REDEFINE to reinstate the metadata describing an external snapshot created earlier for an offline domain no longer fails.
  • v3.5.0 (2017-07-04)
    • qemu: snapshot: retrieve image metadata from user provided files
Disk images of an external snapshot created with VIR_DOMAIN_SNAPSHOT_CREATE_REUSE_EXT flag specified would not be scanned for metadata after recent changes. The metadata is necessary to allow keeping relative paths between images when doing a block-commit.

Related commands[edit]

Activities[edit]

  1. KVM: Create Live backups

See also[edit]

  • https://www.berrange.com/posts/2017/02/10/the-surprisingly-complicated-world-of-disk-image-sizes/
  • https://lists.gnu.org/archive/html/qemu-devel/2018-12/msg03324.html
  • Advertising: