Best practices for using VMware snapshots in the vSphere environment
search cancel

Best practices for using VMware snapshots in the vSphere environment

book

Article ID: 318825

calendar_today

Updated On:

Products

VMware vSphere ESXi VMware vCenter Server

Issue/Introduction

This article provides best practices for using the VMware snapshot feature.

Environment

  • VMware vSphere ESXi 8.x

  • VMware vSphere ESX 9.x

  • VMware vCenter Server 8.x

  • VMware vCenter Server 9.x

Resolution

Follow these best practices when using VMware snapshots in a vSphere environment:

  1. Do not use VMware snapshots as backups. The snapshot file is only a change log of the original virtual disk, it creates a placeholder disk (virtual_machine-00000#-delta.vmdk) to store data changes made since the snapshot was created. If the base disks are deleted, the snapshot files alone are not sufficient to restore a virtual machine.

  2. A maximum of 32 snapshots are supported in a chain. However, for better performance, use only 2 to 3 snapshots.

  3. Do not retain a single snapshot for more than 72 hours. The snapshot file continues to grow in size the longer it is kept. This can cause the storage location to run out of space and impact system performance.

  4. When using third-party backup software, ensure that snapshots are deleted after a successful backup.
    Note: Snapshots taken by third-party software (via API) may not appear in the Snapshot Manager. Routinely check for snapshots using the command line.

  5. Virtual machine disks cannot be increased in size while snapshots exist, regardless of whether the virtual machine is powered on or off. Increasing the size of VMDK disks running on a snapshot should never be attempted, even using the CLI.

  6. Ensure that there are no snapshots before increasing the size of a virtual machine disk or virtual RDM, as doing so can cause snapshot corruption and data loss.

  7. Do not cancel a running deletion/consolidation task, as it can lead to data corruption.


For more information, refer to Manage Virtual Machines With Snapshots and Snapshot Files and Limitations.

Additional Information