How can I restore corrupt .edb?

By ClementMoody ·
Tags: Windows, Software
I have an exchange server with a .edb that is in a dirty shutdown state. I have 2 storage groups. The second storage group will not mount due to dirty shutdown. That database is on e: drive, the transaction logs are in C:\Program Files\Microsoft\Exchange Server\Mailbox\Second Storage Group I tried to run eseutil /mh e:\exdb2 but I get an error saying that the file is locked.
What is the exact command I need to run to repair the .edb?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

How can I restore corrupt .edb?

by johngardner35 In reply to How can I restore corrupt ...

There is the possibility to use third-party tools such as edb repair EDB Repair Kit. It can also help in your problem. Try to Use all the tools and some of them should help.

First you need to stop your Information Store service and back up everything (edb, stm, and log files) to a different disk. You must ensure that you have sufficient amount of free disk space.
Now, follow the steps given below to get your database back to the clean shutdown state:
Initially, run the following command to verify your database consistency:
eseutil /mh "c:\program files\exchsrvr\mdbdata\priv1.edb"
If you find the database state to be 'Dirty Shutdown', perform a soft repair using the below command:
eseutil /r "c:\program files\exchsrvr\mdbdata\priv1.edb"
This command replays the transaction log files to make sure that all the database operations are successfully completed.
Perform a hard repair of your database using 'Eseutil /p' as follows:
eseutil /p "c:\program files\exchsrvr\mdbdata\priv1.edb"
Defrag your database stores by using the 'Eseutil /d' command-line utility.
Finally check the database integrity by running the 'Isinteg' utility from the BIN folder as follows:
'isinteg -s servername -fix -test alltests'
Please also refer following Microsoft's support article for same.
May be this article will give you more information.

Collapse -

restore corrupt .edb manually

by alexpeter0404 In reply to How can I restore corrupt ...


I found an article;
In this link, users can get complete procedure to restore corrupt .edb files and Exchange Server mailboxes. I hope it will work for you.

Thanks & Regards
Alex Peter

Related Discussions

Related Forums