Last updated on September 18th, 2019 at 06:33 pm
Exchange Server is mainly used as messaging server by business organizations and other corporate companies. It is a mail server that used for email communications. It stores contacts, mails, calendar events in Exchange Server Database. One of the most important features of Exchange Server is its advanced security.
Exchange Server stores data in EDB file format. EDB files are prone to corruption as so much data is saved in database. Log file error, size error and other issues may corrupt Exchange server database. This may result in losing of files and creating performance issues.
To recover the lost files we can use inbuilt tool provided by Microsoft Eseutil and Isinteg. These built in tools recover files from Exchange Server and restore data from database. Manual method to Recover Exchange Server is given below:
Before Using the Eseutil and Isinteg tool, initially you need to perform these steps:
- Create a copy of database
- Dismount EDB from Exchange Server
- Confirm the Disk Space
To know detail about these steps you can check here
Now we can use Eseutil tool to repair file. Go to C:Program Files\ExchSrvr\Bin , the tool is located in this location. To repair minor errors and corrupt files, you can use Eseutil/r command. This command can fix the minor changes in EDB files. For a damaged file, you can use Eseutil/p. Be cautious while running the command.
Before using the command make sure that data files both EDB and STM are in the same folder or directory. If these files are in different location then we need to enter separate commands for each pointing to these files. Complete Eseutil command to repair Exchange server database is
Eseutil /P c:exchsrvrmdbdataDB1.EDB /Sd:exchsrvrmdbdataDB1.STM /Te:TEMPREPAIR.EDB
The above command will repair and recover these files
- EDBin C: drive
- STM file in D: drive,
- Create temporary file in E: drive
If the STM file does not match up with EDB file it may create interference in repair process. After the performing the above steps and recovery process a log file Database.integ.raw. Now we need to defragment exchange database. Two things should be consider while defragmenting database
- More Space than the actual size of Exchange Database.
- Database should be at the same location from where it is mounted.
Now run Isinteg.exe tool to run integrity check of database. Defragmentation will integrate files and compress the size of file. This will repair Exchange server database and recover lost files like mails, contacts and other important data.