NetWorker: SQL Server-logboeken, back-up van een herstelde database mislukt: secundaire replica mislukt

Summary: Back-up van SQL Server-logboeken van NetWorker Module for Microsoft (NMM) mislukt. Dit gebeurt wanneer een database onlangs is hersteld en de SQL Server AlwaysOn Availability Group (AAG)-back-upvoorkeur is ingesteld op secundair. ...

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

NetWorker Module for Microsoft (NMM) SQL Server logsonly backup fails
Dit gebeurt wanneer aan de volgende voorwaarden wordt voldaan:

  • De SQL Server AlwaysOn Availability Group (AAG)-back-upvoorkeur is ingesteld op secundair.
  • Een SQL-database is onlangs hersteld en toegevoegd aan de AAG

De symptomen zijn onder meer:

  • De eerste Logsonly-back-up van de teruggezette databaseback-up wordt gepromoveerd naar niveau vol en wordt voltooid
  • De tweede Logsonly-back-up mislukt met de volgende fout:
    Log backup for database "aogdbcopy" on a secondary replica failed because a synchronization point could not be established on the primary database. 
    Either locks could not be acquired on the primary database or the database is not operating as part of the availability replica. 
    Check the database status in the SQL Server error log of the server instance that is hosting the current primary replica. 
    If the primary database is participating in the availability group, retry the operation.

 

Cause

De hoofdoorzaak van dit probleem is dat de database onlangs is hersteld en toegevoegd aan de AAG, maar dat er geen volledige back-upcyclus is gestart op het primaire knooppunt van de AAG.

 

Resolution

Om dit probleem op te lossen:

  • Open SQL Server Management Studio en bewerk de eigenschappen van de beschikbaarheidsgroep
  • Stel de voorkeur voor AAG-back-up in op primair
  • Een volledige back-up op NetWorker-niveau uitvoeren voor de herstelde database
  • Voer een Logsonly-back-up op NetWorker-niveau uit voor de teruggezette database
  • Stel de AAG-back-upvoorkeur in op secundair
  • Voer opnieuw een Back-up op NetWorker-niveau uit Logsonly

 

Article Properties
Article Number: 000218527
Article Type: Solution
Last Modified: 18 Feb 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.