Our Thinking / Field Notes / The Insight

TECHNICAL PERSPECTIVES / VMWARE VSPHERE SNAPSHOTS AND VIRTUAL MACHINE BACKUP

VMware Snapshots vs Backups: Why a Snapshot Is Not Recovery

A VMware snapshot is a short-term rollback point that depends on the same storage and permissions as the VM. Here is why Broadcom says not to treat it as a backup, how to check your estate read-only and how to prove a real restore works.

Why it matters

A snapshot records changes against a virtual disk that must stay intact, on the same datastore and under the same administrative access as the VM. Broadcom's current vSphere guidance says not to use snapshots as backups and not to keep a single snapshot for more than 72 hours. A backup is a separate, protected copy you have actually restored from. To assess where you stand, list every snapshot and its age, check for VMs flagged as needing consolidation, then restore one VM as an isolated test copy and time it.

The short answer

A snapshot gets a working virtual machine back to an earlier moment. A backup lets you rebuild that machine when the original is damaged, deleted or unreachable. Those are different jobs, and only one of them is recovery.

Broadcom's best-practice article for vSphere (KB 318825, which lists ESXi and vCenter Server 8.x and 9.x) says not to use VMware snapshots as backups and not to retain a single snapshot for more than 72 hours. Its overview of snapshots (KB 342618, covering 7.x to 9.x) adds that snapshots should not be considered a backup for any of a VM's virtual disks. If you are a business owner rather than an administrator, the practical meaning is simple: if the storage, the VM's files or the management logins are lost, the snapshots are lost with them.

What a snapshot actually holds

When you take a snapshot, vSphere stops writing to the original virtual disk and sends later changes to a new child disk, normally a delta disk (a file ending -delta.vmdk). Disks over 2TB, and every snapshot on VMFS6, use a -sesparse.vmdk file instead. Each new snapshot adds another child on top of the last, and every child points back towards the original. Broadcom describes the snapshot file as only a change log of the original disk.

So a snapshot is closer to a bookmark than a copy of the book. Damage or delete the original disk, or break a link in the chain, and the bookmark is worthless. Broadcom's own wording is that running a VM on a snapshot for long periods can cause instability and data loss, and that child disks have been known to grow large enough to fill an entire datastore. The vSphere 8.0 administration guide describes snapshots as a short-term solution for testing software with unknown effects, which is a rather different job from protecting a payroll server.

The 72-hour figure is the current KB 318825 wording. Older VMware documentation only says short-term, so you may see softer advice in older material. Broadcom also recommends two or three snapshots in a chain for performance, against a supported maximum of 32.

Where snapshots fall short as protection

The failures a business actually needs to survive are mostly the ones snapshots cannot cover.

  • Storage loss: the delta disks sit alongside the original disk in the VM's folder. If that datastore fails, or someone deletes the VM's files, the snapshots go too. Veeam's own explainer calls this a single point of failure, though that is a backup vendor speaking, so treat it as corroboration of Broadcom's position rather than the evidence for it.
  • Shared access: whoever holds rights to delete a VM or its snapshots in vCenter can remove both the machine and its rollback points. The NCSC's guidance for disruptive attacks says backups are often a target of attackers who want to prevent a speedy recovery, and asks for them to be stored separately from primary systems and protected from unauthorised modification or deletion. A snapshot meets neither test. That is our reading of the guidance applied to snapshots, not an NCSC statement about VMware.
  • Age and growth: the longer a snapshot lives, the more it absorbs, and the longer it takes to merge back. Broadcom notes that deleting snapshots with large deltas takes time and that cancelling a running deletion or consolidation can corrupt data.
  • Disks that snapshots skip: independent-persistent disks are skipped by the snapshot task, independent-nonpersistent disks are not included, and multi-writer disks do not support snapshots at all, so snapshot-based protection simply does not cover them.
  • No proven restore: rolling back a healthy VM tells you nothing about whether you could rebuild it from nothing on a bad day.

Why backup software also creates snapshots

Much of the confusion comes from backup tools. Image-level backup software typically takes a short-lived snapshot so it can read a consistent disk, copies the data to a separate repository and then removes the snapshot. The snapshot is the means; the independent copy is the backup. Broadcom's advice is that snapshots made by third-party backup software should be deleted after a successful backup.

That gives you a useful warning sign. A snapshot with a backup product's name on it that is days old is not a second layer of protection. It usually means a cleanup step failed. Broadcom also notes that snapshots created by third-party software through the API may not appear in the Snapshot Manager, so the vSphere Client view alone can miss them.

What recovery-grade looks like

The NCSC's disruptive-attack guidance asks for up-to-date backups stored separately from primary systems, protected from modification or deletion, made immutable where possible, with restoration processes tested regularly. It adds that when you test, you should prioritise business-critical services because restoring systems can take significant time. Immutable means the copy cannot be altered or deleted for a set period, even by an administrator account.

The NCSC's 3-2-1 rule means at least three copies, on two devices, with one offsite. The same NCSC material points out that 3-2-1 does not by itself require any copy to be offline, and that with at least one backup offline at any moment an incident cannot affect all of your backups at once. You do not need to adopt all of that to start. You do need at least one copy that a compromised vCenter login could not erase, and evidence that it restores.

Assess your own environment without changing anything

This sequence only reads information. It needs VMware PowerCLI (Broadcom's PowerShell module for vSphere) on an admin workstation and an account that can view VMs in vCenter; a read-only role is normally enough. Nothing here creates, deletes or consolidates a snapshot.

  1. Connect to vCenter Server. Replace YOUR_VCENTER_NAME with your vCenter's address and sign in when prompted.
    powershell
    Connect-VIServer -Server YOUR_VCENTER_NAME
  2. List every snapshot with its age. Anything over three days old is outside Broadcom's guidance and needs a decision. Be careful with the size column: PowerCLI 13.4 reports the full disk size rather than the real delta size, which Broadcom describes as expected behaviour with a later release due to cover both needs, so use it only as a rough guide and check true consumption in the datastore.
    powershell
    Get-VM | Get-Snapshot | Select-Object VM, Name, Created, @{Name='AgeDays'; Expression={[math]::Round(((Get-Date) - $_.Created).TotalDays, 1)}}, SizeGB | Sort-Object Created | Format-Table -AutoSize
  3. Check which VMs vSphere itself has flagged as needing disk consolidation. An empty result is good. Any name returned has leftover delta disks from a snapshot deletion that did not finish merging, and needs attention.
    powershell
    Get-VM | Where-Object { $_.ExtensionData.Runtime.ConsolidationNeeded } | Select-Object Name, PowerState
  4. In the vSphere Client, open the datastore holding your most important VMs, choose the Files tab and look inside each VM's folder for files ending -delta.vmdk or -sesparse.vmdk. This catches snapshots that the Snapshot Manager does not show, such as those left by backup software.
  5. Disconnect when finished.
    powershell
    Disconnect-VIServer -Confirm:$false

Prove a restore works

A backup you have never restored is a hope, not a control. This test restores a copy beside production and leaves the original untouched, but it does consume datastore space and host resources, so start with a low-priority VM and run larger ones outside busy hours. Use whichever backup product you have; the principle is the same everywhere. Some products can automate boot and application checks in an isolated environment, and that is worth looking for, but a manual test is better than none.

  1. Choose one low-risk VM first, then repeat with a business-critical one. Note which backup copy you intend to use and where it is stored. If the only copy lives on the same datastore or under the same admin login as the VM, you have found your first problem.
  2. Restore it as a new copy with a different name and with its network adapter disconnected or attached to an isolated port group. Never power on a restored duplicate on the production network: duplicate addresses and machine identities can disrupt the original. A large VM can take a long while to restore, so start it and do something useful in the meantime.
  3. Power the copy on and confirm it boots, you can sign in and the application and data are present and current to the point you expect. For a database or line-of-business server, open the application rather than assuming a booted operating system means success.
  4. Record how long the whole exercise took and how old the data was. Compare those figures with how long the business can actually be without that system. That comparison, not the existence of a backup job, is what tells you whether your protection is adequate.
  5. Delete the test copy and its files once you have recorded the result, so you do not leave a stray duplicate on the datastore.

Acting on what you find

If the audit shows old snapshots, deal with them through vSphere, not the file system. Deleting a snapshot in the vSphere Client commits its changes into the parent disk. Broadcom specifically warns against manually manipulating child disks or snapshot configuration files, and against cancelling a running deletion or consolidation task. Merging a large delta can take a long time and, as Veeam's explainer notes, can stun the VM during the merge, so plan it in a quiet window and make sure a restore-tested backup exists first. Where a VM is flagged for consolidation, the Snapshots menu in the vSphere Client offers a Consolidate option.

If your restore test failed or was slower than the business can tolerate, treat that as the headline finding. Fixing the backup design is a separate piece of work, and a restore test result is exactly the evidence you need to scope it.

Two limits are worth knowing. The 72-hour figure is Broadcom's recommendation rather than a hard technical cutoff, and the Broadcom KB pages reviewed show an Updated On field without a visible date, so check the live article for any revision. The NCSC pages describe principles, not VMware-specific procedures, so how you achieve separation and immutability depends on your backup product and storage.

Technical terms explained
3-2-1 rule
A backup guideline of at least three copies of data, on two devices, with one offsite.
consolidation
The process of merging snapshot delta disks back into the parent disk after a snapshot is deleted. vSphere flags a VM if this does not finish.
datastore
The storage location, such as a volume on a disk array, where vSphere keeps virtual machine files including virtual disks and snapshots.
delta disk
A file that stores changes made to a virtual disk after a snapshot is taken. It depends on the original disk beneath it and cannot be used on its own.
immutable
A backup copy that cannot be altered or deleted for a defined period, even by an administrator account.
port group
A named network setting on a virtual switch that VM network adapters connect to, which can be used to place a VM on an isolated network.
PowerCLI
A PowerShell module for managing vSphere and vCenter from the command line.

Sources and further reading

KEEP THE CONVERSATION GOING

Not sure your VMs would restore?

If you would like a second opinion on whether your virtual machine backups are separate, protected and genuinely restorable, tell us what you run and what you cannot afford to lose.

Talk to us