Veeam Backup & Replication Best Practice Guide
Tuning vSphere
Please read the Supplemental - vSphere - Interaction section to understand the background of these configuration settings.
The best practice is to keep the default settings wherever possible, and adjust settings only where necessary.
Applying custom (registry) settings in v13
Several settings on this page are custom values that are not exposed in the UI. Where you apply them depends on the backup server platform:
- Windows-based backup server: create the value under the registry path shown, as in previous versions.
-
Veeam Software Appliance (Linux): there is no registry, so these values live in configuration files instead. The equivalent of
HKLM\SOFTWARE\Veeam\Veeam Backup and Replication\is/etc/veeam/veeam_backup_and_replication.conf. A value set directly under that key goes into the[root]section, in the formName=Value.
On the appliance, manage these files through the Veeam Host Management console:
- Export the existing configuration file.
- Add or change the value.
- Import the modified file.
If the file cannot be exported, create a new file with the correct section header and values, then import it. When the Security Officer role is enabled, importing an updated or new configuration file requires Security Officer approval, so plan these changes as part of change management. For the full mapping of registry paths to configuration files, see Veeam KB4779.
Example: on Windows, MaxSnapshotsPerDatastore (REG_DWORD) = 6 under HKLM\SOFTWARE\Veeam\Veeam Backup and Replication. On the Veeam Software Appliance, the same setting goes in /etc/veeam/veeam_backup_and_replication.conf as:
[root]
MaxSnapshotsPerDatastore=6
Note: Custom settings are not migrated automatically when you move from a Windows backup server to a Veeam Software Appliance. Document every custom value before migration and re-apply it on the appliance.
Adjust number of concurrent snapshots
The default number of concurrently open snapshots per datastore in Veeam Backup & Replication is 4. You can change this with the following custom setting:
- Path:
HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication - Appliance:
/etc/veeam/veeam_backup_and_replication.conf, section[root] - Key:
MaxSnapshotsPerDatastore - Type:
REG_DWORD - Default value:
4
This limit counts VMware snapshots only. It is independent of storage latency control, which throttles tasks based on measured datastore latency. In most environments, enabling storage latency control is a better first step than raising the snapshot count.
Mitigate snapshot removal impact
To mitigate the impact of snapshots, consider the following recommendations:
-
Minimize the number of open snapshots per datastore. Multiple open snapshots on the same datastore are sometimes unavoidable, but their cumulative effect can be severe. Keep this in mind when designing datastores, deploying VMs and creating backup and replication schedules. Backup by datastore can help here.
-
Consider snapshot impact during job scheduling. When possible, schedule backup and replication jobs during periods of low activity. The backup window setting on the Schedule tab of the job wizard keeps long-running jobs from running into production hours.
-
Use backup from storage snapshots where available. On integrated storage systems, the VMware snapshot only needs to exist for a few seconds while the storage snapshot is created. See Storage Integration.
-
Use the vStorage APIs for Array Integration (VAAI) where available. VAAI offers significant benefits:
- Hardware Assisted Locking (ATS) improves the granularity of locking needed during snapshot growth and other metadata operations, lowering overall SAN overhead while snapshots are open.
- On NFS datastores, check whether your storage vendor provides a VAAI-NAS plug-in for ESXi that supports native snapshot offload.
-
Account for the datastore type.
- On vSAN Express Storage Architecture (ESA), vSAN uses a native snapshot engine. Snapshot creation and consolidation have much less impact than redo-log (VMFS sparse) snapshots.
- On vVols, snapshots are offloaded to the array.
- In both cases, the open-snapshot and consolidation guidance on this page matters less. Still validate the behaviour with your vSAN or storage version.
-
Design datastores with enough IOPS to support snapshots. Snapshots create additional I/O load and therefore need enough I/O headroom. This is especially important for VMs with moderate to heavy transactional workloads.
By default, vSphere places snapshot files on the same datastore as each individual VM disk. A large VM with VMDKs on several datastores therefore spreads its snapshot I/O across those datastores. This also limits your ability to design and size a dedicated datastore for snapshots, so factor it into the overall design.
Note: This default can be changed, as explained in Broadcom KB 1002929.
-
Allocate enough space for snapshots. If a VM has virtual disks on multiple datastores, each datastore must have enough space to hold the snapshots for its disks. Also allow for several snapshots running on a single datastore at once. As a rule of thumb, keep at least 10% free space on a datastore for general-purpose VMs, and at least 20% for VMs with a high change rate (SQL Server, Exchange Server and others).
-
Watch for low disk space warnings. Veeam Backup & Replication warns you when there is not enough space for snapshots. The default threshold for production datastores is 10%. Raise it significantly for very large datastores (a VMFS datastore can be up to 64 TB). The percentage-based threshold is set in the global notification settings.
Tip: Use the Veeam ONE VM Configuration Assessment Report to detect datastores with less than 10% free disk space available for snapshot processing.
- Tune heartbeat thresholds in failover clusters. Some application clustering software can mistake a snapshot commit for a failure of the cluster member and fail over to another node. Coordinate with the application owner to increase the cluster heartbeat thresholds; Exchange DAG heartbeat is a typical example. For details, see Veeam KB1744.
Considerations for NFS datastores
Backup from NFS datastores needs additional consideration when the Virtual Appliance (hot-add) transport mode is used. The load balancer selects hot-add when no Direct storage access mode is available, that is, neither backup from storage snapshots (Storage Integration Access) nor Direct NFS access.
Datastores formatted with VMFS can natively determine which cluster node owns a particular VM. VMs on NFS v3.0 datastores instead rely on the LCK file in the VM folder.
During hot-add operations, the host running the hot-add proxy temporarily takes ownership of the VM by changing the contents of the LCK file. This can cause significant additional stuns, and under certain circumstances the VM may become unresponsive. VMware recognizes the issue and documents it in Broadcom KB 2010953.
Note: This issue does not affect Direct NFS access (one of the Direct storage access modes) or backup from storage snapshots on NFS datastores of integrated storage systems such as NetApp. We highly recommend using one of these two modes to avoid the problem.
In hyperconverged infrastructures (HCI), keep the data mover close to the VM being backed up, so backup traffic does not stress the storage replication network. If the HCI provides storage over NFS (such as Nutanix running ESXi), you can force a Direct NFS data mover on the same host with the following custom setting:
- Path:
HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication - Appliance:
/etc/veeam/veeam_backup_and_replication.conf, section[root] - Key:
EnableSameHostDirectNFSMode - Type:
REG_DWORD -
Default value:
0(disabled)Value =
1(Preferred Same Host): When a Direct NFS proxy is available on the same host, Veeam Backup & Replication uses it. If that proxy is busy, it uses another Direct NFS proxy. If none is found, it falls back to Virtual Appliance (hot-add) and finally Network mode (NBD).This value is not recommended for Nutanix. Use value
2instead.Value =
2(Same Host Direct NFS): Recommended for Nutanix. If there is no Direct NFS proxy on the same host as the VM, it falls back to Network mode (NBD). It never falls back to a hot-add proxy.
To give preference to a hot-add proxy located on the same host as the VMs, create the following custom setting:
- Path:
HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication - Appliance:
/etc/veeam/veeam_backup_and_replication.conf, section[root] - Key:
EnableSameHostHotAddMode - Type:
REG_DWORD -
Default value:
0(disabled)Value =
1: When proxy A is available on the same host, Veeam Backup & Replication uses it. If proxy A is busy, it waits for it. If proxy A becomes unavailable, it uses another hot-add proxy (proxy B), and if that fails, it falls back to Network mode (NBD).Value =
2: When proxy A is available on the same host, Veeam Backup & Replication uses it. If proxy A is busy, it waits for it. If proxy A becomes unavailable, it switches to Network mode (NBD).
This approach typically requires a significant number of proxy servers, which may not be acceptable in some environments. Lightweight Linux-based proxies, such as the Veeam Infrastructure Appliance, reduce the per-host overhead. If neither Direct NFS access nor a per-host proxy is practical, switch to Network mode (NBD).
vCenter Server connection count
If you start a large number of parallel Veeam backup jobs (typically more than 100, with some thousand VMs in them) using VADP, or if you rely on Network mode (NBD), you may face two kinds of limitations:
- the limit on vCenter Server SOAP connections
- the limit on NFC buffer size on the ESXi side
All backup vendors that use VMware VADP implement the VMware VDDK in their solutions. The VDDK provides standard API calls to read and write data. During backup operations, every vendor deals with two types of connections: the VDDK connections to vCenter Server and ESXi, and the vendor’s own connections. The number of VDDK connections may vary between VDDK versions.
If you try to back up thousands of VMs in a very short time frame, you can run into the SOAP session count limit. This limit is 2,000 concurrent sessions or 640 concurrent requests, but it can be increased if required.
Veeam’s scheduler does not track the connection count. Periodically check the number of vCenter Server connections during the main backup window to spot a future bottleneck early, and only increase the limits when needed. The infrastructure cache described below significantly reduces the SOAP load generated by Veeam itself.
You can also optimize ESXi Network mode (NBD) performance by increasing the NFC buffer size from the default 16 MB to 32 MB (or conservatively higher), and reducing the cache flush interval from 30 s to 20 s. Follow Broadcom’s documentation for your ESXi version when changing these host settings. After increasing the NFC buffer, you can raise the following Veeam setting to allow additional NBD connections per host:
- Path:
HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication - Appliance:
/etc/veeam/veeam_backup_and_replication.conf, section[root] - Key:
ViHostConcurrentNfcConnections - Type:
REG_DWORD - Default value:
7
Be careful with this setting. If the ratio of NFC buffer to NFC connections is too aggressive, jobs may fail.
Veeam infrastructure cache
The Veeam Broker Service caches in memory an inventory of the objects in the vCenter Server hierarchy. On Windows it runs as a Windows service; on the Veeam Software Appliance it runs as a Linux service. The collection is very efficient, because it is held in memory and limited to the data Veeam Backup & Replication needs.
Because the cache lives in memory, its content is lost whenever the Veeam services restart. This is not a problem: the initial retrieval starts as soon as the services are back up. After that, Veeam subscribes to a vSphere API that pushes every change in the environment to it, so it no longer needs a full search of the vCenter hierarchy for every operation.

The most visible effects of using this service are:
- The load on vCenter SOAP connections is heavily reduced, because each Veeam backup server uses a single connection instead of every job running its own query against vCenter.
- Navigating the vSphere hierarchy is instantaneous.
- Job initialization is almost immediate. The infrastructure cache gives each job its own in-memory copy of the cache, instead of the Veeam Manager running a full search against vCenter.

The infrastructure cache needs no special memory planning, because its requirements are very low. For example, the cache for an environment with 12 hosts and 250 VMs is only about 120 MB, and it does not grow linearly, since most of the size is fixed even for smaller environments.