Microsoft SQL Server

Veeam Backup & Replication provides three options for backing up SQL Server:

  • Image-level backup of the virtual machines running SQL Server
  • Backup of Windows machines running SQL Server using Veeam Agent
  • Backup of selected databases on SQL Server using Veeam Plug-in for Microsoft SQL Server

The options differ in capabilities and the list of supported configurations.

  VM backup Agent backup Plug-in backup
Standalone SQL server Supported Supported Supported
Always On Availability Group Supported Supported Supported
SQL Failover Cluster Not supported Supported Supported

Note: Please read the white paper on benefits of using SQL Always-on Availability Groups for Virtual Environment

Veeam Agent has additional limitations applied to specific configurations:

  • Backup of CSV (Cluster Shared Volumes) is not supported. Cluster disks used as CSV are automatically excluded from backup.
  • AlwaysOn Availability Groups based on multiple Failover Cluster Instances are not supported.
  • AlwaysOn Distributed and Clusterless Availability Groups are not supported.

Preparation

The following section will provide the best practices to verify SQL Server for the smooth and fast backup.

Check the status of VSS writers and providers:

  1. Open a command prompt as administrator.
  2. Type vssadmin list providers and press enter.
  3. Verify providers are listed without errors.
  4. Type vssadmin list writers and press enter
  5. Check and confirm writers are Stable with no errors.

As backup is I/O intensive operations check the SQL server performance status before starting the backup. To verify the SQL Server Health:

  1. Open Performance Monitor.
  2. Add the objects below to verify the performance:
    • Under the Memory object, add the counter: Available MB
    • Under the Processor object, add the counter: %Processor Time (Instance: Total)
    • Under the Physical Disk object, add the counters: Avg. Disk Sec/Read and Avg. Disk Sec/Write (All Instances)
    • Under the Paging File object, add the counter: %Usage (Instance: Total)

Check Microsoft article “Monitor Memory Usage” to validate the health status of SQL Server.

Job configuration

General Cluster Backup

Only process one Microsoft SQL cluster within one backup job. This provides better handling for tasks like jobs cancelations or on-demand backups before cluster maintenance is performed.

Virtual Machine Image Level Backup

Standalone SQL Server

No additional configuration is required to backup the standalone SQL server, you can configure the backup with application aware processing to take the backup of SQL server with the databases.

Please check the Veeam User’s Guide sections to get more information about SQL backup configuration

SQL Always-on Availability Group

When backing up AlwaysOn availability group make sure all cluster nodes are processed by the same backup job for transaction logs processing and restores to work properly. Consider increasing cluster timeouts in case failover occurs during the backup, similar to Exchange DAG as per KB1744.

You can also follow the steps outlined in KB2110 to exclude certain databases from application aware processing.

Transactions logs backup:

The default location of the temporary folder on Windows systems is <drive with most free space>:\Veeam\Backup\SqlLogBackup.

If you wish to specify the location of the temporary file you can do so by changing the SqlTempLogPath (STRING) registry value:

  • Path: HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication
  • Key: SqlTempLogPath
  • Type: REG_SZ
  • Default value: undefined

Make sure that the desired path is writeable by the Veeam services.

Veeam Plug-in for Microsoft SQL Server

Managed and Unmanaged deployment modes.

Veeam Plug-in for Microsoft SQL Server provides native database-level protection by leveraging Microsoft SQL Server’s built-in backup and recovery mechanisms. It supports full, differential, and transaction log backups, enabling granular database recovery and a flexible backup scheduling
Compared to image-level backups created by Veeam Backup & Replication, Veeam Plug-in offers more flexible scenarios for database backup. In particular, Veeam Plug-in users can back up and restore individual Microsoft SQL Server databases, as well as configure independent backup schedule for full, differential and log backups

Mixed Approch (Plug-in and Image Backups)

A mixed-mode approach combines image-based backup with the Veeam Plug-in for Microsoft SQL Server. Image-based backup protects the complete VM for full-system recovery, while the SQL Plug-in provides database-level backup and transaction log protection. Typical scenarios include:

  • Critical databases: Plug-in backup with frequent transaction log backups for lower RPO.
  • Standard SQL workloads: Image-based backup with application-aware processing.
  • Large databases: Plug-in backup to optimize database-level backup and restore operations.
  • DR protection: Image-based backup for complete VM recovery, complemented by plug-in backups for database recovery.

Note: Backup schedules and transaction log processing should be carefully coordinated between the two methods to avoid overlapping operations and ensure consistent SQL log-chain management.

Please see the Enterprise Plug-Ins page for general plug-in best practices.


References


Back to top

Copyright © 2026 Solutions Architects, Veeam Software.