EDB Recovery

By | October 24, 2016

To recover an Exchange database:

1) Run eseutil /mh E:\Exchange\mailbox.edb

  • If the state is Clean Shutdown skip to step 4

2)Verify Logs are not damaged: eseutil /ml E:\Exchange\Log\E01 (path ends with the first 3 characters of log files to be inspected)

3) Try eseutil /r E00 /a /t /d E:\Exchange\Mailbox.edb /l E:\Exchange\Log

  • For this error: “Operation terminated with error -528 (JET_errMissingLogFile
    • Include the Exchange Bin Folder Path with “/s” switch:      /s “C:\Program Files\Microsoft\Exchange Server\V15\bin”
  • For this error: “Operation terminated with error -1216 (JET_errAttachedDatabaseMismatch
    • Run soft recovery with the “/i ” switch at the end and it will override the EDB-STM mismatch.

4) For a Dirty Shutdown State run:

  • Run eseutil /p E:\Exchange\Mailbox.edb /t C:\Temp\Temp.edb

5) Verify state is Clean Shutdown then De-fragment

  • Run eseutil /d E:\Exchange\Mailbox.edb /t C:\Temp\Temp.edb

For best speed write the temp database to a separate drive with enough space.