Red Hat Training

A Red Hat training course is available for Red Hat Virtualization

4.15. snapshot

The snapshot resource type groups all virtual machine snapshot resources in a Red Hat Virtualization environment.

Table 4.39. Snapshot parameters

Name Type Description Required User Creatable User Updatable
--description
string
A description for the snapshot.
Yes
Yes
No
The following table lists additional snapshot options for resource-based commands.

Table 4.40. Additional command options

Option Description
--vm-identifier Adds the disk to a vm as a sub-resource.

Example 4.33. Creating a new snapshot

[RHEVM shell (connected)]# add snapshot --vm-identifier MyVM --description 'My Snapshot'

Example 4.34. Deleting a storage domain

[RHEVM shell (connected)]# remove snapshot [snapshot_id]
The following table lists actions for a virtual machine snapshot resource.

Table 4.41. Virtual machine snapshot actions

Action Description
restore Restore a snapshot.