To return a virtual machine to its original state, or to return to another snapshot in the snapshot hierarchy, you can use the revert options.
When you restore a snapshot, you return the virtual machine's memory, settings, and the state of the virtual machine disks to the state they were in when you took the snapshot.
- Revert to Latest Snapshot
- Restores the parent snapshot, one level up in the hierarchy from the You are Here position. Revert to Latest Snapshot activates the parent snapshot of the current state of the virtual machine.
- Revert To
- Lets you restore any snapshot in the snapshot tree and makes that snapshot the parent snapshot of the current state of the virtual machine. Subsequent snapshots from this point create a new branch of the snapshot tree.
Restoring snapshots has the following effects:
- The current disk and memory states are discarded, and the virtual machine reverts to the disk and memory states of the parent snapshot.
- Existing snapshots are not removed. You can restore those snapshots at any time.
- If the snapshot includes the memory state, the virtual machine will be in the same power state as when you created the snapshot.
Table 1. Virtual Machine Power State After Restoring a Snapshot Virtual Machine State When Parent Snapshot Is Taken Virtual Machine State After Restoration Powered on (includes memory) Reverts to the parent snapshot, and the virtual machine is powered on and running. Powered on (does not include memory) Reverts to the parent snapshot and the virtual machine is powered off. Powered off (does not include memory) Reverts to the parent snapshot and the virtual machine is powered off.
Virtual machines running certain kinds of workloads can take several minutes to resume responsiveness after reverting from a snapshot.
When you revert to a snapshot, disks that you added or changed after the snapshot was taken are reverted to the snapshot point. For example, when you take a snapshot of a virtual machine, add a disk, and revert the snapshot, the added disk is removed.
Independent disks are also removed when you revert to a snapshot that was taken before the disk was added. If the latest snapshot includes an independent disk, its contents do not change when you revert to that snapshot.
Prerequisites
Verify that you have the
privilege on the virtual machine.Procedure
- ♦ In the vSphere Client, right-click a virtual machine and select your task.
Task Description Revert to the latest snapshot Select Revert to Latest Snapshot and click OK. Revert to a selected snapshot - Right-click the virtual machine and select Manage Snapshots.
- Navigate to a snapshot in the snapshot tree and click the Revert To button.
- Click Yes to confirm.