Avamar: SQL restore fails with CREATE DATABASE permission denied
Summary: SQL restore fails because the Backup Agent service account lacks sysadmin or dbcreator role in SQL Server, resulting in a CREATE DATABASE permission denied error.
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
During a SQL database restore the following error is returned:
"avsql Error : sqlconnectimpl_smo::execute Microsoft.SqlServer.Management.Common.ExecutionFailureException: An exception occurred while executing a Transact‑SQL statement or batch. ---> System.Data.SqlClient.SqlException: CREATE DATABASE permission denied in database 'master'. RESTORE DATABASE is terminating abnormally."
Cause
The Backup Agent service runs under the NT Authority\SYSTEM account by default. This account is not granted the required privileges in SQL Server, so it cannot start CREATE DATABASE statements during a restore operation. Without membership in the sysadmin or dbcreator server roles, the service lacks permission to create a new database in the master catalog, causing the restore to fail.
- Default service account is NT Authority\SYSTEM.
- Account is missing
sysadminordbcreatorrole. - Insufficient rights prevent CREATE DATABASE execution.
Resolution
Grant the Backup Agent service account the required SQL Server roles:
- Open SQL Server Management Studio.
- In Object Explorer, expand the target SQL Server instance and then expand Security → Logins.
- Locate the account used by the Backup Agent (NT Authority\SYSTEM or a dedicated backup account), right‑click it and select Properties.
- On the Server Roles page, check
sysadmin(ordbcreator) and click OK.
Affected Products
Avamar, CatalogArticle Properties
Article Number: 000063065
Article Type: Solution
Last Modified: 24 سبتمبر 2026
Version: 5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.