Action Plan for hard repairing on Databases :
1) Shut down all the Exchange server services from the source server.
2) Copy the following files onto other server
a) original priv.edb and pub.edb
b) c:\winnt\system32\eseutil.exe
c) c:\winnt\system32\ese.dll
d) c:\winnt\system32\exchmem.dll
2) To perform a hard recovery, follow these steps:
To return Priv.edb to a consistent state, type the following command at the
command prompt(after going to the directory) (The speed for the command is
4-5hrs\gig) , and then press ENTER:
a)eseutil /p priv.edb
b)eseutil /p pub.edb
3) Check the consistency of the databases after running the eseutil /p on
the database(State : Consistent), type the following command at the command
prompt, and then press ENTER after each line:
a)eseutil /mh priv.edb |more
b)eseutil /mh pub.edb |more
4) On the Command prompt, run the following command [run this command till
you get zero errors & zero fixes]. (The speed for the command is 5mins\gig),
and then press ENTER after each line:
a)Isinteg -fix -pri -test alltests
b)Isinteg -fix -pub -test alltests
5) To defrag the database, type the following command at the command
prompt(after going to the directory) (The speed for the command is
4-5hrs\gig) , and then press ENTER:
a)eseutil /d priv.edb
b)eseutil /d pub.edb
6) In the production system rename exchsrvr\mdbdata to mdbdata.new.(Or move
mdbdata.new to some other location). Create a blank exchsrvr\mdbdata
7) Move the repaired databases to production (original) server's
exchsrvr\mdbdata
8)Recheck the consistency of PRIV.edb database by running command (State :
Consistent).
a)eseutil /mh priv.edb |more
b)eseutil /mh pub.edb |more
9) Now try starting the Exchange services as normal, Incase you get error
1011 while starting the services, then you will require to run Isinteg
-patch command from exchsrvr\bin directory to get the services up and
working.
That's it every thing should be working now, except loss of few
mails/attachments due to execution of eseutil/p