The various snapshot management tasks include:
Note: For information on managing snapshots, see the Using Snapshots To Manage Virtual Machines section of the vSphere Virtual Machine Administration Guide.
Taking a snapshot in the vSphere Web Client
Notes:
- If you are taking a memory snapshot of a virtual machine that has multiple disks in different disk modes, verify that the virtual machine is powered off. For example, if you have a special purpose configuration that requires you to use an independent disk, you must power off the virtual machine before taking a snapshot.
- To capture the memory state of the virtual machine, verify that the virtual machine is powered on.
- To quiesce the virtual machine files, verify that the virtual machine is powered on and that VMware Tools is installed.
- Required privilege: Virtual machine.State. Create snapshot on the virtual machine.
To take a snapshot in the vSphere Web Client:
- Right-click the virtual machine in the inventory and click Take Snapshot.
Note: To locate a virtual machine:
- Select a datacenter, folder, cluster, resource pool, host, or vApp.
- Click the Related Objects tab and click Virtual Machines.
- Enter a name for the snapshot.
- Enter a description for the snapshot. This step is optional.
- Select the Snapshot the virtual machine’s memory option to capture the memory of the virtual machine. This step is optional.
- Select the Quiesce guest file system (Needs VMware Tools installed) option to pause running processes on the guest operating system, so that file system contents are in a known consistent state when you take the snapshot. This step is optional.
Note: Quiesce the virtual machine files only when the virtual machine is powered on and you do not have to capture the virtual machine's memory.
- Click OK.
Reverting to a snapshot in the vSphere Web Client
Notes:
- When you revert to a snapshot, you immediately restore the parent snapshot of the virtual machine.
- 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.
To revert to a snapshot in the vSphere Web Client:
- Right-click a virtual machine in the inventory and click Revert to Current Snapshot.
To locate a virtual machine:
- Select a datacenter, folder, cluster, resource pool, host, or vApp.
- Click the Related Objects tab and click Virtual Machines.
Note: The virtual machine power and data states are returned to the states they were in at the time you took the parent snapshot. If the parent snapshot is a memory snapshot, the virtual machine is restored to an on power state.
Consolidating snapshots in the vSphere Web Client
Notes:
- The presence of redundant delta disks can adversely affect virtual machine performance. You can combine such disks without violating a data dependency. After consolidation, redundant disks are removed, which improves virtual machine performance and saves storage space.
- Snapshot consolidation is useful when snapshot disks fail to compress after a Delete or Delete all operation or if the disk did not consolidate. This might happen, for example, if you delete a snapshot but its associated disk does not commit back to the base disk.
- The Needs Consolidation column in the vSphere Web Client shows the virtual machines to consolidate.
- Required privilege: Virtual machine.State.Remove Snapshot on the virtual machine.
To consolidate snapshots in the vSphere Web Client:
- View the Needs Consolidation column. To view the Needs Consolidation column:
- Select a vCenter Server instance, a host, or a cluster.
- Click the Manage tab and click Virtual Machines.
- Right-click the menu bar for any virtual machine column and click Show/Hide Columns > Needs Consolidation.
Note: A Yes status indicates that the snapshot files for the virtual machine should be consolidated and that the virtual machine's Tasks and Events tab shows a configuration problem. A No status indicates that the files are good.
- To consolidate the files, right-click the virtual machine and click All vCenter Actions > Consolidate.
- Check the Needs Consolidation column to verify that the task succeeded. If the task succeeded, a No value appears in the Needs Consolidation column.
- If the task failed, check the event log for failed conditions, such as running out of disk space.
- Resolve the issue and then retry the consolidation task. The configuration problem should now be resolved and the Needs Consolidation value must be set to No.
Note: To determine the size of any given snapshot, use the DataStore Web Browser to view the files.
Deleting a snapshot in the vSphere Web Client
Notes:
- Snapshot Manager can be used to delete a single snapshot or all snapshots in a snapshot tree.
- Use care when deleting a snapshots. For more information on deleting snapshots, see the Deleting Snapshots. section of the vSphere Virtual Machine Administration Guide.
- Ensure that you are familiar with the Delete and Delete all actions and how they might affect virtual machine performance.
To delete a snapshot in the vSphere Web Client:
- Right-click the virtual machine and click Manage Snapshots.
To locate a virtual machine:
- Select a datacenter, folder, cluster, resource pool, host, or vApp.
- Click the Related Objects tab and click Virtual Machines.
- In the Snapshot Manager, click a snapshot to select it.
- Select whether you want to delete a single snapshot or all snapshots.
Delete – Consolidates the snapshot data to the parent snapshot and removes the selected snapshot from the Snapshot Manager and virtual machine.
- Delete All – Consolidates all of the immediate snapshots before the You are here current state to the base parent disk and removes all existing snapshots from the Snapshot Manager and virtual machine.
- Click Yes in the confirmation dialog box.
- Click Close to exit the Snapshot Manager.