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
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.
- First, dismount the database from Exchange.Dismount-Database –Identity <name of the database>
- Run Eseutil /d commandeseutil /d <name of the database> /T <location of temporary path>
- After successfully running the Eseutil command, mount the database back to Exchange.Mount-Database –Identity <name of the database>
- Repair the database with Eseutil /p command.eseutil /p <location of the database>
- 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>
You can try this command multiple times to eleminate all issues in the Exchange database.
Comments
Post a Comment