Repair a Corrupt Exchange Database / Exchange Veritabanını Onarın

 

Manual Method Using Eseutil Utility

Eseutil is an inbuilt tool within the Exchange Server which is useful to repair the corrupt databases, defragment them, check database integrity, and reduce the size.
The default location of the tool in Exchange 2013/2016 is –

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

default location of the Eseutil tool

The functional aspect of Eseutil tool is quite broad, and you can perform following actions using multiple switches –

  • To repair the database – eseutil /p
  • To defragment the database –eseutil /d
  • To restore the database – eseutil /r
  • To verify checksum in the database – eseutil /k
  • To check the database integrity – eseutil /g
  • To do hard recovery– eseutil /c
  • To display the headers, logs or checkpoint files – eseutil /m
  • To copy database and log files – eseutil /y

Use ESEUTIL to Defragment the Database.

Before starting defragmentation of the database, you should save a backup of the database in case of emergency.

  1. First, dismount the database from Exchange.
    Dismount-Database –Identity <name of the database>

    dismount the database from Exchange

  2. Run Eseutil /d command
    eseutil /d <name of the database> /T <location of temporary path>

    Run Eseutil command

  3. After successfully running the Eseutil command, mount the database back to Exchange.
    Mount-Database –Identity <name of the database>

    mount the database back to Exchange

  4. Repair the database with Eseutil /p command.
    eseutil /p <location of the database>

    Repair the database with Eseutil

  5. Finally, run the new-mailbox repair request command to fix the errors in the database.
New-MailboxRepairRequest -Database <name of the database> -CorruptionType <type of corruption>

run the new-mailbox repair request command

You can try this command multiple times to eleminate all issues in the Exchange database.

Comments

Popular posts from this blog

Azure AD Connect password sync sorunları hk.

Office uygulamalarında ADFS sunucusuna yönlenen bağlantıların yavaş açılması