To revert to a snapshot, use the prlctl snapshot-switch
command. When you revert to a snapshot, the current state of the virtual machine or container is discarded, and all changes made to the system since the previous snapshot are lost. So, before reverting, you may want to save the current state by creating a new snapshot (see Section 2.11.1, “Creating Snapshots”).
The prlctl snapshot-switch
command requires the virtual machine or container name and the snapshot ID as arguments, for example:
# prlctl snapshot-switch MyVM --id {cedbc4eb-dee7-42e2-9674-89d1d7331a2d}
In this example, you revert to the snapshot {cedbc4eb-dee7-42e2-9674-89d1d7331a2d}
for the virtual machine MyVM
.