Difference between revisions of "Virsh Snapshots"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
  
<code>[[qcow2]]</code> internal snapshots are best avoided in favour of extenal snapshots. <ref>https://www.berrange.com/posts/2017/02/10/the-surprisingly-complicated-world-of-disk-image-sizes/</ref>
+
<code>[[qcow2]]</code> internal snapshots are best avoided in favour of extenal snapshots. <ref>https://www.berrange.com/posts/2017/02/10/the-surprisingly-complicated-world-of-disk-image-sizes/</ref>, they do not get much attention.<ref>https://lists.gnu.org/archive/html/qemu-devel/2018-12/msg03324.html</ref>
  
  
Line 11: Line 11:
 
** qemu: Allow XML validation for snapshot creation
 
** 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 <code>[[virsh snapshot-create]] --validate</code>
 
:: Add flag VIR_DOMAIN_SNAPSHOT_CREATE_VALIDATE to validate snapshot input XML. For virsh, users can use it as <code>[[virsh snapshot-create]] --validate</code>
 +
 +
* v5.2.0 (2019-04-03)
 +
** [[snapshots]]: Add support for topological listings
  
 
* v5.1.0 (2019-03-04)
 
* v5.1.0 (2019-03-04)
Line 22: Line 25:
 
== Related commands ==
 
== Related commands ==
 
* <code>[[virsh list]] --with-[[snapshot]]</code>
 
* <code>[[virsh list]] --with-[[snapshot]]</code>
 +
* <code>[[virsh backup-begin]]</code>
  
 
== Activities ==
 
== Activities ==
Line 29: Line 33:
 
* {{virsh}}
 
* {{virsh}}
 
* {{virsh snapshot}}
 
* {{virsh snapshot}}
 +
* {{libvirtd}}
  
  
 
[[Category:virsh]]
 
[[Category:virsh]]

Latest revision as of 07:40, 13 October 2020


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: