Complete Manual solutions for a corrupt EDB file

by Andy Wosko | On February 26, 2020 | Under Email Migration

Recover EDB Files

Today, the majority of the businesses are using the Exchange Server to manage their email platforms and gaining from it emphatically.The advantages of Exchange Server are overwhelming as Microsoft takes care of its security for email communication. There is a very lesser chance that your email will be hacked,or your data will be leaked. But there isa chance that the database file that is storing all your emails or contact may become corrupt because it resides on the same computer that you are using.

 

The Exchange database file (EDB) is present at the following location on your computer depending on the Exchange Server version.

 

Exchange Server 2016

C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\DatabaseName.edb

Exchange Server 2013

C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox database Name\DatabaseName.edb

Exchange Server 2010

C:\Program Files\Microsoft\Exchange Server\V14\Mailbox Database\DatabaseName.edb

Exchange Server 2007

C:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\DatabaseName.edb

Exchange Server 2003 & 2000

C:\Program Files\Exchsrvr\MDBDATA\Priv1.edb

 

The Exchange Administrators do not need to know the location of the Exchange database file until you do not need to take a backup or recover it from corruption. Once you are aware of the default location, then you can continue with the recovery procedure.

 

Because the database file is present at your computer system, so it is quite vulnerable to the various threats that may either corrupt the file or delete the content from it.

 

Here is a precise list of some of the most common scenarios that can lead to corruption in the Exchange database file;

 

  1. Overheating, failure in the motherboard, issue in the hard drive sector where the EDB file is residing.
  2. Software or hardware problem in the computer system.
  3. A severe malware attack can easily corrupt the computer files including the EDB file.
  4. A power failure when the Exchange Server is active can cause a data mismatch.
  5. If the Anti-virus program is not compatible with the Exchange Server, then it can create various issues.

 

When you find about the corruption in the EDB file, your natural reaction is to find out a solution that can recover the data and remove the corruption completely. Thankfully, Exchange Server provides an in-built solution within its environment that can repair the database file.

 

ESEUTIL TOOL

 

ESEUTIL tool is a highly useful tool that is helping the Exchange Administrators since the time of Exchange 4.0 and can perform some important tasks like defragmentation, repairing, checking the integrity, and fixing other issues. It has multiple switches that are used in different conditions. The following is the default location ofthe ESEUTIL tool;

 

Exchange Server 2016/2013

C:\Program Files\Microsoft\Exchange Server\V15\Bin

 

How to use the ESEUTIL tool?

 

The ESEUTIL tool provides two recovery solutions – soft and hard. For common issues, the soft recovery is enough and if it is unable to recover the items, then use the hard recovery. But before running the tool, you should dismount the database from the Exchange Server. Run the below command;

Dismount-Database -Identity DatabaseName

 

Soft recovery using the ESEUTIL tool

 

Start the tool and run the following command;

ESEUTIL /r ‘Prefix of log’ /l ‘complete path of log folder’ /d ‘complete path of database folder’

Example

ESEUTIL /r E056 /l “C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database 768334” /d “C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database 768334”

After the completion of the soft repair, you can try to use the Exchange account and see if the corrupt items are available again. If not, then use the hard recovery method.

 

Hard Recovery using the ESEUTIL tool

 

The hard recovery process requires three important steps and you need to run them sequentially.

  1. Hard repair using the /P switch.
  2. Defragment the database and reconstruct it with the /D switch.
  3. Index repair the database using the ISINTEG tool.

 

First, run the following command for /P switch.

 

ESEUTL /P ‘complete path of database folder’

Example

ESEUTIL /P“C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database 768334”

 

Defragment the database.

 

Run the command;

ESEUTIL/d ‘complete database path’/t ‘UNC Path’

Example

ESEUTIL /d“C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database 768334”/t \\env124-w8-1\temp\temp.edb

 

Run the ISINTEG tool.

 

The final step is to run the ISINTEG tool and you can run several tests that will check the database more sophistically. Find the tool at the below location;

C:\Program Files\Microsoft\Exchange Server\Bin

Start the tool and run the command

Isinteg –s ‘complete exchange server name’ -fix –test alltests

The command will run and check for all the possible errors and treat them. You need to run the command multiple times for better recovery.

 

Conclusion

 

ESEUTIL tool is an effective tool for the recovery of Exchange database files but only for minor issues or corruption. If there is severe corruption in the EDB file, then the ESEUTIL tool can not only make it worse but further delete the data. That’s why you should use the ESEUTIL tool only when you have taken the backup of the database file earlierthat can restore them back. For better and convincing recovery, go for a professional EDB recovery tool that is specially designed for the recovery of EDB file only.



9481 Yukon Lane,
Rockville Centre, NY 11570
Let's talk
  • sales@datainfotools.com
  • support@datainfotools.com
Connect with us
Copyright © 2020 DataInfoTools, All Rights Reserved
Privacy Policy Sitemap: HTML XML