Virtualization

virsh snapshot

CautionKVM snapshots

virsh snapshot-create-as <domain> <name>

Creates, lists and reverts snapshots — pre-change insurance. Don't let them live long.

Examples

  • virsh snapshot-revert web01 before-patchRevert to pre-patch

Syntax

virsh snapshot-create-as <dom> <name> / snapshot-list / snapshot-revert

Before you run it

Revert discards changes since the snapshot.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store