https://login.veeam.com/en/oauth?client_id=nXojRrypJ8&redirect_uri=https%3A%2F%2Fwww.veeam.com%2Fservices%2Fauthentication%2Fredirect_url&response_type=code&scope=profile&state=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2IyMjA2IiwiaGFzaCI6ImQwODVhNWJjLWQzZWEtNDBiMi1hNTZkLTVhMjgwMzUyYmRjMiJ9
1-800-691-1991 | 9am - 8pm ET
EN

Upgrade fails with “Unable to use database VeeamBackup, because it has an unsupported compatibility level (SQL Server 2008 or later is required)”

Challenge

When attempting to upgrade the Veeam Backup and Replication software, an error is encountered:

Unable to use database VeeamBackup, because it has an unsupported compatibility level (SQL Server 2008 or later is required)
 

Cause

Veeam Backup and Replication 9.5 no longer supports databases with a compatibility level of 2005 or lower.
 

Solution

Change the compatibility level of the database to 2008 or higher:

In SQL Server Management studio this can be done by following these steps:
  1. Right-click the database in question
  2. Click ‘properties’ 
  3. Click the ‘options’ tab 
  4. Drop down the ‘Compatibility Level’ box and change the compatibility level to 2008 or higher
User-added image

The following queries can be run to check the compatibility level and change it:

(Before running any queries, always back up the Veeam database (http://www.veeam.com/kb1471))
To check the compatibility level run:
 
SELECT compatibility_level 
FROM sys.databases WHERE name = 'Veeambackup';  

 
To change the compatibility level run***:
 
ALTER DATABASE Veeambackup
SET COMPATIBILITY_LEVEL = 100;

 
***‘100’ is the compatibility level for 2008. To change it to 2012, use ‘110’. To change it to 2014, use ‘120’. You cannot change the compatibility level to be high than the version of the SQL instance being used.
 
KB ID:
2206
Product:
Veeam Backup & Replication
Version:
9.5
Published:
2016-12-19
Last Modified:
2020-08-13
Please rate how helpful this article was to you:
5 out of 5 based on 1 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
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!

Spelling error in text

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.
Your report was sent to the responsible team. Our representative will contact you by email you provided.
We're working on it please try again later