Windows Server Backup stuck on “Running Consistency Check for Application Exchange” for Exchange 2010

If you use Windows Backup to back up your Exchange 2010 databases, you may find yourself in a situation where the backup appears hung at “Running consistency check for application Exchange” for hours and hours. You should also see Event ID 3156 in the Application log on the server.

The most likely cause of this is that there are an excessive amount of log files present (like thousands and thousands), which can happen with a large amount of activity or if you haven’t performed a successful backup in a while.

This can really pose a problem if you find yourself rapidly running out of hard disk space, and are concerned the backup will not complete and flush the logs before you do run out.

There are two easy fixes. The first (and safest) thing to do is to simply let it complete. However, depending on the number of log files that can take a really long time… hours and even days.

The second is a little more drastic, but desperate times call for desperate measures. First, stop the active backup. Then, simply go to the properties of each database, and enable Circular Logging. With Exchange 2010 SP1, you do not need to dismount the mailbox store and then mount it again for this to take effect. It should take less than an hour, but ultimately you will see the log files evaporate into the ether. Once that happens, you can disable circular logging and then run your backup again. This time, you should see it pass by the “Running consistency check for application Exchange” step much more quickly.

If that doesn’t resolve it, you might have a problem with the VSS writers. If you run the following command from an elevated command prompt you can check that all of them are in “Stable” state.


vssadmin list writers

If it looks like you have a problem, you can increase your logging level by using the following command in the Exchange Management Shell.


Set-EventLogLevel "MSExchangeIS\9002 System\Exchange Writer" -Level Expert

For good measure, I would also suggest restarting the Microsoft Exchange Server Extension for Windows Server Backup service.

The enhanced logging should point you in the right direction if there are deeper issues. If you do have deeper issues, I would suggest a full server reboot first. before taking any further troubleshooting steps. If you have a chronic issue that keeps coming back though, I would highly recommend troubleshooting it to resolution rather than just rebooting every time.

When finished, don’t forget to return it to the default logging level:


Set-EventLogLevel "MSExchangeIS\9002 System\Exchange Writer" -Level Lowest

Hope this helps!

Advertisements

About Rebecca Harness

Rebecca Harness is a Business Information Security Officer (BISO) for a publicly-traded, global information solutions company. As BISO, she champions security initiatives and recommends strategies to mitigate risk, facilitating innovation and new product development. She’s also responsible for representing the business unit’s security program in client facing engagements, conferences, and industry forums. Prior to her current role, she was an influential cybersecurity leader for one of the world’s largest transportation providers, known for transforming information security efforts into well-orchestrated programs. There, she developed an innovative methodology for delivering key information security priorities as a service model, leading to quicker adoption enterprise-wide while significantly reducing operational costs. She also led and modernized their global, multi-brand PCI Assessment and other compliance initiatives. In the early 2000’s, Rebecca developed one of St. Louis' leading Managed Services Providers from a startup in a spare bedroom into a mature consulting company with 30+ employees and 150+ clients in the Greater St. Louis Area. Rebecca holds many certifications, including; ISACA Certified Information Systems Auditor (CISA); ISC2 Certified Information Systems Security Professional (CISSP); and GIAC Security Leadership Certified (GSLC). She’s also a proud alumni of Hastings College and a longtime member of the Society of American Magicians.

3 Responses to “Windows Server Backup stuck on “Running Consistency Check for Application Exchange” for Exchange 2010”

  1. Nice, simple and concise, was just about to do when the consistency check completed. Phew, But have bookmarked the page.

  2. Thanks for the brilliant solution. I had setup backup wrong when I changed backup devices and my server had gotten full of log files in a hurry. Nice simple solution to this issue.

  3. Thansk, for this. Got me outta the shit! lol

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s