4.1.17. prlctl snapshot, snapshot-list, snapshot-switch, snapshot-delete

Takes, displays, reverts to, and deletes snapshots of a running virtual machine.

Syntax. 

prlctl snapshot <VM_name> [-n, --name <name>] [-d, --description <desc>]
prlctl snapshot-list <VM_name> [-t, --tree] [-i, --id <snapshot_ID>]
prlctl snapshot-switch <VM_name> -i, --id <snapshot_ID>
prlctl snapshot-delete <VM_name> -i, --id <snapshot_ID>

Table 4.25. Options

NameDescription

<VM_name>

Virtual machine name.

-n, --name <name>

User-defined snapshot name. Names with white spaces must be enclosed in quotation marks.

-d, --description <desc>

User-defined snapshot description. Descriptions with white spaces must be enclosed in quotation marks.

-t, --tree

Displays the snapshot list as a tree. The default display format is tabular with Parent Snapshot ID and Snapshot ID as columns.

-i, --id <snapshot_ID>

  • Use with prlctl snapshot-list to specify the ID of the snapshot to use as the root. If this parameter is omitted, the entire snapshot tree will be displayed.
  • Use with prlctl snapshot-switch to specify the ID of the snapshot to revert to.
  • Use with prlctl snapshot-delete to specify the ID of the snapshot to delete.

Note

Note: If the snapshot you want to delete has child snapshots derived from it, they will not be deleted.