Avamar SQL Backup: Server principal "NT AUTHORITYSYSTEM" heeft geen toegang tot database

Summary: Avamar SQL-back-ups mislukken met een fout die aangeeft dat de server-principal NT AUTHORITY\SYSTEM geen toegang heeft tot een SQL Server-database onder de huidige beveiligingscontext. Dit probleem doet zich voor wanneer de machtigingen voor het lokale systeemaccount worden verwijderd van de SQL Server-instantie, die vereist zijn voor SQL Writer en op VDI gebaseerde back-upbewerkingen. ...

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

Tijdens een Avamar SQL-back-up mislukt de bewerking bij initialisatie met een SQL-verbindingsfout. De fout verwijst expliciet naar het SYSTEM-account .

De volgende fout wordt geregistreerd wanneer de back-up wordt gestart:

avsql Error <40088>: sqlconnectimpl_smo::execute Microsoft.SqlServer.Management.Common.ExecutionFailureException: 
An exception occurred while executing a Transact-SQL statement or batch. ---> 
System.Data.SqlClient.SqlException: The server principal "NT AUTHORITY\SYSTEM" is not able to access the database 
"SQL_DBtest" under the current security context.

Cause

Het NT AUTHORITY\SYSTEM accountmachtigingen zijn verwijderd uit de SQL Server-omgeving.

Microsoft SQL Server maakt gebruik van de SQL Writer-service, die wordt uitgevoerd onder het lokale systeemaccount, om op VDI en VSS gebaseerde bewerkingen uit te voeren. Avamar SQL-back-ups zijn afhankelijk van dit mechanisme. Wanneer het account voor het lokale systeem wordt verwijderd uit de vereiste SQL-rollen, heeft de SQL Writer geen toegang tot databases en mislukken back-upbewerkingen.

Resolution

Herstel de vereiste machtigingen voor het NT AUTHORITY\SYSTEM-account.

Vereiste acties

  1. Zorg ervoor dat de SQL Server SQL Writer-service is geconfigureerd om onder het lokale systeemaccount te worden uitgevoerd.
  2. Controleer of het NT AUTHORITY\SYSTEM-account niet is verwijderd uit de vereiste SQL Server-rollen.
  3. Ervoor zorgen dat het account voor het lokale systeem de juiste toegang tot SQL Server-databases en VDI-bewerkingen behoudt.
  4. Probeer de Avamar SQL-back-up opnieuw uit te voeren nadat de machtigingen zijn hersteld.

Als het account voor het lokale systeem niet kan worden gebruikt vanwege het beveiligingsbeleid van de klant, moet Microsoft worden ingeschakeld om de compatibiliteits- en supportimplicaties aan te pakken.

Additional Information

In de Microsoft-documentatie staat het volgende met betrekking tot SQL Writer:

During installation, the SQL Writer account will be installed to use the Local System account. Since the SQL Writer needs to talk to SQL Server using exclusive VDI APIs, the SQL Writer account must have sufficient access rights for both SQL Server and VSS. Configuring the service as a Local System account provides sufficient rights for the service to run correctly.

To have the SQL Writer service work correctly, it is important to make sure that the Local System account is not removed from the SQL Server instance sa role.

Raadpleeg het volgende Microsoft-artikel voor meer informatie:
Een handleiding voor SQL Server back-up (externe koppeling)

Affected Products

Avamar

Products

Avamar, Avamar Client for Windows, Avamar Plug-in for SQL
Article Properties
Article Number: 000049795
Article Type: Solution
Last Modified: 15 Apr 2026
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.