Event ID 2137 and Windows Server Backup Completed with Warnings for Exchange 2010 Mailbox Server

When Windows Server Backup is used to back up an Exchange Server 2010 Mailbox server that a a member of a Database Availability Group the backup result may report “Completed with warnings”.

Windows Server Backup "Completed with errors" result for Exchange 2010 Mailbox server
Windows Server Backup "Completed with errors" result for Exchange 2010 Mailbox server

In the details of the backup report an error is displayed that the application will not be available for recovery.

Windows Server Backup error "The application will not be available for recovery" for Exchange 2010
Windows Server Backup error "The application will not be available for recovery" for Exchange 2010

In addition the Application event log on the server will report Event ID 2137.

Log Name: Application
Source: MSExchangeRepl
Date: 24/11/2010 12:55:07 PM
Event ID: 2137
Task Category: Service
Level: Warning
Keywords: Classic
User: N/A
Computer: ex1.exchangeserverpro.local
Description:
RPC request to the Microsoft Exchange Information Store service for log truncation failed for database Mailbox Database 02\EX1. Error: 4294965485

In the example above the server EX1 was not able to perform log truncation for Mailbox Database 02.  Notice that Mailbox Database 02 is currently mounted on a different DAG member, not on EX1.  In other words, the database that is mentioned in the event log error is a passive database copy on server EX1 at this time.

[PS] C:\>Get-MailboxDatabaseCopyStatus

Name                                          Status

----                                          ------
Mailbox Database 01\EX1                       Mounted
Mailbox Database 02\EX1                       Healthy
Archive Mailboxes\EX1                         Mounted

This error occurs if an application volume being backed up includes passive database copies.  There are two solutions for this issue:

  1. Only select volumes with active mailbox database copies for inclusion in the backup job.  This is not ideal for all environments depending on their database storage layout and whether a mailbox database has been activated on a different server due to a fault or maintenance.
  2. Add a registry key to disable the Exchange Replica Writer and instead use the Exchange Store Writer for Windows Server Backup

To make this registry change open Regedit and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V14\Replay\Parameters.  Add a DWORD entry of “EnableVSSWriter” with a value of 0 (zero).

Disable the VSS Writer for Exchange 2010 mailbox database backups
Disable the VSS Writer for Exchange 2010 mailbox database backups

Next, restart the Microsoft Exchange Replication service.

[PS] C:\>Restart-Service MSExchangeRepl

Re-run the backup job and the result should be successful without errors this time.

Windows Sever Backup successful for Exchange 2010 Mailbox server
Windows Sever Backup successful for Exchange 2010 Mailbox server

Comments

  1. Louis says

    Thanks I need this solutions.

    I have one question.

    If I use The second solution that uses registry value, did the passive database backed up complete??

    And how can I recover the passive database?

  2. nf says

    I tried doing the second option and besides it taking 3x longer to run a full backup, the log files still did not truncate.

    • says

      Did you make sure you’re doing a VSS Full backup and not just a Copy backup? The default Exchange database backup type in Windows Server Backup is Copy, which doesn’t truncate logs.

  3. Shabbir says

    Hi,
    We have a DAG where SERVER1 is having EXCHDB1 and SERVER2 is having EXCHDB2.
    EXCHDB1 on SERVER1 is the active MOUNTED db and EXCHDB2 on SERVER2 is passive HEALTHY db.

    Each time when I run the Windows Server Backup (VSS full Backup) on SERVER1, I get the error message “Consistency check failed”, database backup completed with warnings and It does not truncate the logs.

    I also get the error message of one of the log file being corrupt.

    Please help

    • says

      Hi Shabbir, if you’re commenting on this article does that mean you’ve already tried the fix in the article?

      If you still need help you will need to post the full error messages you’re seeing.

  4. Henk Pawiroredji says

    Hi Paul,

    Thank you for your articles. I like to read them

    I have a backup question.

    When I backup Exchange 2007 SP3 (Update Rollup 5 For Exchange Server 2007 Service pack 3), I get the same warning/problem you described above for Exchange server 2010, I tried the Registery fix,, but still I get the warning. and event ID 565; Event ID 9782; and Event ID 2007.. I dont use LCR and there is no passive copy

    Is this still a bug in Exchange 2007 SP 3. What is the solution..

    Regards…..

    Henk from Holland

  5. Burak Atasal says

    Hi i’m having the same issue on our Exchange Server but we don’t have more then one Exchange in our Enviroment.

    We have only one Exchange Server and when i try to run a backup (with VSS Full Option) the logs are not being truncate.

    This solution is the same with one or more then one Exchange Server?

    Thanks.

      • Burak Atasal says

        hi,

        when i try to start an exchange backup (i’m selecting only the exchange partition for it) after the consistency check an error message appears and says you can not recover exchange from this backup..so i read a lots of things about this and most of them for written for different scenerios..

        so i need an advice about what should i do for succesfull backup up of the exchange server.

        thanks.

  6. says

    I am unable to get this working.
    After the registry tweak and starting the Microsoft Exchange Server Extension for Windows Server Backup and still my logs dont get purged. I did the same on my passive node also and tried to lock and load a full backup and no joy
    event id’s 565 and 9782
    I will try an find out a why and comment inere. between if anybody knows how to resolve this would appreciate

    • says

      Hi Gaurav, sounds like you may be having a different issue than what is described in this article.

      If you post your problem in the forums and provide some more details I’m sure we could help.

  7. says

    its the same as you described here. I am thinking if i should go for resetting the log sequence and then try backing up again. I will keep you posted bob.

  8. sudam sahoo says

    Hi,

    I am unable to take backup mailbox server 2010 .Mailbox is in dag .I get the error message “Consistency check failed and unable to take backup system state also

  9. Jon says

    Hi Paul,

    I’m experiencing the same issue here and I’ve tried the fix you mentioned and then restarting the Exchange Replication service but I’ve not been successful, one thing to note, EnableVSSWriter was already set to 0 in the registry, if that means anything, so I guess I didn’t really do much other than restart that service.

    I’m performing a VSS Full Backup on selected folder objects where Exchange is housed. If I choose to backup the entire volume which houses Exchange I get a different WSB error relating to not being able to back up a 2TB volume.

    Do you perhaps have any hints on what else I could try out to solve the issue?

    Thanks

    -j-

    • says

      Everything I read says the 2TB limit is something we have to live with (for now I guess).

      And unfortunately you can’t do an Exchange backup with Windows Server Backup by choosing specific folders, it has to be an entire volume backup.

      My suggestion would be to rearrange your Exchange storage layout to use volumes smaller than 2TB, or switch backup products. Sorry :)

  10. Kutub says

    Hi, I have Exch 2010 3 DAGs with 3 databases. i did registry fix and VSS full backup but still i got the same backup error with event id 9782.
    Q1 – do i have to apply this registry fix on all DAG servers or only on one of the DAG where backup is going to run?
    Q2 – Though i will not be able to restore this backup but since i have whole volume backup and i already have 3 copies of each database, can i enable circular logging on all 3 databases to free up some 550 GB of logs which has been accumalated since some time. i dont have more free space and i need immediately some free space.
    i need to know your opinion! by the way it took almost 48 hours to do 745 GB of volume backup.
    thanks in advance.

  11. Ryan SMith says

    Thank you for the excellent post. It worked on giving me a “Successful” backup, however it did not truncate the logs. I can’t find any errors in my Event Log.

    What are the repercussions if I just delete them? They’re up to 9Gb and growing!

  12. Josatch says

    Hey Paul. I bought your Migration guide for 2010 , worked like a charm. I recently had to remount an Active DB with Circular logging because log files filled during mbx moves. I also removed both passive copies from the dag and erased their data in logs/db directories. Remounted the Active with Circular logging off and re-added the passives. After the seeds were complete and healthy , the passives are giving me these 2137 errors although i haven’t run any backup yet so I’m not sure what is trying to truncate the logs.

  13. lbys says

    hi,
    now in my Exchange Server is a similar situation, but my mailbox version of Exchange 2007, using cluster continuous replication CCR mailbox database backup using Windows Server 2003 Ntbackup, now I don’t know what to do

  14. Khalid says

    Hi
    I am having the same issue but I am using third party backup solution EMC Networker

    can I use the second solution (Registry Modification)

  15. davemest says

    i have two Mb servers in a DAG , and four Databases distributed equally on each MB servers.i did mount and activate all databases on one of the MB server ( all mailboxes are active on this server). i did a full vss windows backup on all four databases ,however , there was no log truncated from the server not even GB space cleared . i am having this for all the Databases. replication is healthy ? what else should i have to try

      • davemest says

        1-i use Windows server 2008R2 (windows backup) for doing full backup
        2-yes everytime i took fullbackup , timestamp updates on the database
        3-there is no error but information event id 9827 ,event id 2006

        i have been three weeks doing research on this issue , Logs are filling up our drives , i cound’t find solution on this !!!!!!

        thanks

  16. says

    Dear Paul,

    Thanks again for this nice explanation. I have these errors as well, event id 2137:
    RPC request to the Microsoft Exchange Information Store service for log truncation failed for database YEF-NL1-2010\AM1S162. Error: 4294965485.
    They are filling up the event viewer of my mbx servers but that is the whole day and not (only) during the backup. We use Commvault for backup and when I look at one of the databases that is backed up, the logfiles are cleaned.
    What can this be? Do I need to apply the fix as well?
    Thnx!

Leave a Reply

Your email address will not be published. Required fields are marked *