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 vSphere ESXi 7.0 VMware vCenter Server 8.0 VMware vSphere ESXi 8.0 VMware vCenter Server VMware vCenter Server 7.0

Issue/Introduction

This article provides best practices for using VMware snapshots feature.

Environment

  • VMware vSphere ESXi 7.0.x
  • VMware vSphere ESXi 8.0.x

Resolution

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

  • Do not use VMware snapshots as backups.

    The snapshot file is only a change log of the original virtual disk, it creates a place holder disk, virtual_machine-00000x-delta.vmdk, to store data changes since the time the snapshot was created. If the base disks are deleted, the snapshot files are not sufficient to restore a virtual machine.

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

  • Do not use a single snapshot for more than 72 hours.

    The snapshot file continues to grow in size when it is retained for a longer period. This can cause the snapshot storage location to run out of space and impact the system performance.

  • When using a third-party backup software, ensure that snapshots are deleted after a successful backup.

    Note: Snapshots taken by third party software (through API) may not appear in the Snapshot Manager. Routinely check for snapshots through the command-line.

  • You cannot increase the size of the Virtual Machine disk while the VM is running on snapshot during powered ON/OFF status. Increment of VMDK disks running on snapshot should never be attempted even using CLI.

  • Ensure that there are no snapshots before performing the following operations

    • Increasing the virtual machine disk size or virtual RDM.
      Increasing the disk size when snapshots are still available can corrupt snapshots and result in data loss.

Additional Information