If you encounter warnings such as log truncation failed to complete or the database is unavailable for recovery upon completion of a backup performed on an Exchange 2010 database that is a member of a Database Availability Group (DAG), use the steps in this article to disable the Exchange Replica Writer, and then execute a new backup.
Determine Active and Passive Mailboxes
To determine if there are a combination of active and passive mailboxes,
- Log in to the Exchange Server as the administrator, and open the event log.
In the log file, search for and view Event ID 2137, for example:
Log Name: Application
Source: MSExchangeRepl
Date: 24/01/2014 11:25:00 AM
Event ID: 2137
Task Category: Service
Level: Warning
Keywords: Classic
User: N/A
Computer: EX01.exchangebbs.local
Description:
RPC request to the Microsoft Exchange Information Store service for log truncation failed for database Mailbox Database 02\EX01. Error: 3523092309- To determine where Mailbox Database 02 is mounted, at a command prompt, enter the following command:
C:\>Get-MailboxDatabaseCopyStatus -
Press Enter. The results displays the name, location, and status of the Mailbox Databases, for example:
Name Status
---- ------
Mailbox Database 01\EX01 Mounted
Mailbox Database 02\EX01 Failed
Archive Mailboxes\EX01 Mounted In the above example, log truncation on Mailbox Database 02 failed because it is a passive database copy on server EX1 and is mounted on a different DAG member.
Disable Exchange Replica Writer
Use the following steps to disable Exchange Replica Writer,
- On the Exchange Server, type regedit in the Start menu to open the Registry Editor.
- Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V14\Replay\Parameters
- Add a DWORD entry EnableVSSWriter and set the value data to 0 (zero).
- At a command prompt, enter the following command:
C:\>Restart-Service MSExchangeRepl - Press Enter. The Microsoft Exchange Replication Service restarts.
- The VSS Writer for Exchange 2010 Mailbox Database backups is now disabled.
Run the Backup Job
You can now log back in to the Barracuda Backup web interface and rerun the Exchange Server 2010 DAG backup from the Backup > Schedules page.