Virsh Snapshots
Jump to navigation
Jump to search
↑ https://www.berrange.com/posts/2017/02/10/the-surprisingly-complicated-world-of-disk-image-sizes/
virsh snapshot-create
Create a snapshot from XML. See also:qemu-img
andqemu-img info
virsh snapshot-create-as
Create a snapshot from a set of args.virsh snapshot-current
Get or set the current snapshotvirsh snapshot-dumpxml VM_MACHINE_NAME SNAPSHOT_NAME
Dump XML for a domain snapshotvirsh snapshot-edit
edit XML for a snapshotvirsh snapshot-info
snapshot information. (virsh snapshot-info --domain DOMAIN_NAME --snapshotname SNAPSHOT_NAME)virsh snapshot-list VM_MACHINE_NAME
List snapshots for a domainvirsh snapshot-parent
Get the name of the parent of a snapshotvirsh snapshot-revert
(Destructive action) revert a domain to a snapshotvirsh snapshot-delete
Delete a domain snapshot
qcow2
internal snapshots are best avoided in favour of extenal snapshots. [1]
Libvirt Snapshot releated changelog
- 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.
Related commands
virsh list --with-snapshot
Activities
See also
virsh
: Storage information, Connecting, Operations, Memory, Snapshots, Networking, CPU, release notes,virsh nodedev-list
- Virsh Snapshots:
virsh snapshot-create-as
,virsh snapshot-info
,virsh snapshot-list
,virsh blockjob
,virsh snapshot-revert (Destructive action)
,virsh snapshot-delete
Advertising: