Avamar: Backup SQL con esito negativo con errore "BACKUP DATABASE permission denied in database"

Summary: Questo articolo della Knowledge Base (KB) illustra i backup SQL di Avamar non riusciti a causa di un problema di autorizzazioni.

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

Il backup del client SQL potrebbe non riuscire a causa dei seguenti messaggi di errore nel registro:
 

avsql Error <9072>: sqlconnectimpl_smo::execute Microsoft.SqlServer.Management.Common.ExecutionFailureException: An exception occurred while executing a Transact-SQL statement or batch. ---> System.Data.SqlClient.SqlException: BACKUP DATABASE permission denied in database 'OperationsManager'.
 (Log #10)
avsql Error <6478>: VDS::Getconfig failed with 'The api was waiting and the timeout interval had elapsed' (Log #10)
avsql Error <6478>: VDS::Getconfig failed with 'The api was waiting and the timeout interval had elapsed' (Log #10)
avsql Error <6479>: Timed out. Was Microsoft SQLServer running? (Log #10)
avsql Error <6479>: Timed out. Was Microsoft SQLServer running? (Log #10)
avtar Info <7202>: Backup CANCELLED, wrapping-up session with Server (Log #2)
avtar Info <7202>: Backup CANCELLED, wrapping-up session with Server (Log #3)
...
avsql Error <9072>: sqlconnectimpl_smo::execute Microsoft.SqlServer.Management.Common.ExecutionFailureException: An exception occurred while executing a Transact-SQL statement or batch. ---> System.Data.SqlClient.SqlException: BACKUP DATABASE permission denied in database 'master'.
avsql Error <9072>: sqlconnectimpl_smo::execute Microsoft.SqlServer.Management.Common.ExecutionFailureException: An exception occurred while executing a Transact-SQL statement or batch. ---> System.Data.SqlClient.SqlException: BACKUP DATABASE permission denied in database 'msdb'.
...
avsql Error <14272>: There are no successfully finished database tasks! 
avsql Error <14294>: An error occurred when generating sql metadata 

Cause

L'account (SYSTEM locale per impostazione predefinita) configurato per il servizio Backup Agent non dispone dei diritti appropriati per eseguire il backup dei database SQL Server.

Resolution

Aprire SQL Server Management Studio e verificare che l'account del servizio Backup Agent sia stato aggiunto al RUOLO SQL SERVER "sysadmin".
 
Per assegnare ruoli SQL Server all'account di servizio Backup Agent:
  1. Sul client SQL avviare SQL Server Management Studio.
  2. Nel riquadro sinistro della finestra SQL Server Management Studio , espandere la struttura ad albero per visualizzare prima l'SQL Server richiesto e quindi la cartella Security .
  3. Nella cartella Security cliccare su Logins per visualizzare gli utenti nel riquadro destro.
  4. Nell'elenco Logins cliccare con il pulsante destro del mouse sull'account (NT Authority\SYSTEM o sull'account di backup dedicato) e scegliere Properties.
  5. Nella casella delle proprietà di accesso, selezionare la pagina Server Roles .
  6. Nella casella Server roles, abilitare il ruolo sysadmin cliccando sul segno di spunta accanto ad esso.
  7. Cliccare sul pulsante OK per salvare le modifiche.

Affected Products

Avamar, Avamar Plug-in for SQL

Products

Avamar
Article Properties
Article Number: 000039635
Article Type: Solution
Last Modified: 22 Jul 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.