Create VSS processing exclusion for vCenter Database

KB ID: 1051
Products: Veeam Backup & Replication
Version: 7.x, 8.x, 9.x
Published:
Last Modified: 2016-05-11
KB Languages: FR

Challenge

The vCenter database in most cases will be automatically excluded from the Application-Aware Image Processing process, preventing the database from being frozen or quiesced. If this does not happen automatically backing up the VM where the vCenter database is stored may fail with the following error.
 
" VSSControl: Failed to prepare guest for freeze, wait timeout 900 sec."
 
More information regarding this error can be found in http://www.veeam.com/KB1377

Solution

The solution below will instruct you on how to enable and use the DBExclusion menu that is built-in to Veeam Backup & Replication v7 and higher.
 

1. Close the Veeam Backup & Replication console.

2. Open Regedit.exe

3. Navigate to the key HKLM

4. Add a new DWORD ‘EnableDBExclusions’>

5. Set the Value to 1

User-added image


6. Close the Registry Editor and open Veeam Backup & Replication

7. Open “Database Exclusions” from the Main Menu
User-added image

8. In the window that pops up, click Add.

9. Specify the DNS name (case sensitive) or IP address, and Database Name (case sensitive) that you wish to exclude from VSS Freezing and being Quiesced. 10. Specify the Database name (case sensitive) that you wish to exclude from application-aware image processing.

User-added image

10. Allow the writer service account access to the Volume Shadow Copy service via the registry:
On the VM you are backing up, open regedit.exe and navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSS\VssAccessControl
If a DWORD value for the account assigned to the writer service is present in this key, it must be set to 1. In most cases, the relevant service account appears in services.msc as the log-on account for the service listed in KB2041. However, some writers have special accounts. For example, in MS SQL Server 2012 and later, if the DWORD value “NT SERVICE\SQLWriter” is present in the VssAccessControl key, it must be set to 1.

 

On next job run the specified database will be excluded from the Application-Aware Image Processing freeze task.

4 / 5 (55 votes cast)

Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Orphus system