Vous êtes sur la page 1sur 16

Exchange Database Recovery Using eseutil commands MSExcha...

1 de 16

http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

MSExchangeGuru.com
Learn Exchange the Guru way !!!

HOME

T HE TE AM

CONTA CT US -MS E XCHANGE GURU

DISC LAIMER

Online and Offline Defragmentation What it


MSExchangeGuru
does ??
Like 1,063

Categories
7.1.2
ADLDS
ADRMS
Antispam
Apple
Autodiscover
Best Practices
Blackberry
CAS
Clustering
Co-existence
Conference
Connectivity
Cumulative Update
DAG
Database Management
Demotion
Disaster Recovery
DNS
Domain Controller
ECP
Edge
Edge Transport
Event
Exchange 2003
Exchange 2007
Exchange 2010
Exchange 2013
Exchange ActiveSync
Exchange Online
Protection
Exchange Tools
ExMerge
Export Mailbox using Shell
GFI
Hyper-V
IIS
Installation
IOPS
IOS
LegacyExchangeDN
Lync
MailFlow
Migration
Miscellaneous blabberings
msExch Attributes
OAB
OAB/OAL
OCS
Office 365
Online and Offline Defrag
Outlook
OWA
POP/IMAP
Powershell
PTR
Public Folders
Quarantined
RBAC
Readiness
Recovery
Recovery Storage Group

MSE XCHANGEGU RU ON YOUT UBE

Using Recovery Storage Group to Mount a Blank


Database and Merge Data

MVP Exchange

Exchange Database Recovery Using eseutil commands


The real job of an exchange administrator is to maintain high availability when it comes to a
messaging environment.
Below mentioned processes are not done on a day to day basis, but understanding how the
process works is mandatory for every exchange administrator.
###Update###
JET_errMissingLogFile -528 -548 Exchange 2010 database recovery:
http://msexchangeguru.com/2013/02/01/jet_errmissinglogfile-528-548/

Subcribe to
MSExchangeGuru
Sign up for our NewsLetter
and article updates Subscribe
to MSExchangeGuru
You may be also interested in these topics too if you wish to know more about Exchange database
technology:
Exchange database repair The eseutil /p process: http://msexchangeguru.com
/2011/03/02/databse-repair/
Here I have tried to explain the terminologies involved in a repair process like how the Exchange
JET database stores information properly arranged in physical and logical pages and how the
repair, defrag and ISINTEG process get rid of corruption.
Bad Checksum on Exchange Database: http://msexchangeguru.com/2009/07
/13/checksum-error/
Here, lets look at identifying a checksum error, understanding health of an Exchange database and
how to know which log file belong to which database.
A step by step walk-through of procedure to be followed when exchange database fail
to mount in Exchange System Manager:
1. Perform the Eseutil /mh Path of the database as indicated below and check the state of the
database.

Follow Us!

Recent Comments
Prabhat Nigam on Cross
Forest E2K3 to 2010 Mailbox
Migration with linked
Mailboxes
JVASCO on Cross Forest E2K3
to 2010 Mailbox Migration
with linked Mailboxes
Prabhat Nigam on Exchange
2013 SP1: Edge Transport
Server Installation and
Configuration
Jason on Exchange 2013 SP1:
Edge Transport Server
Installation and Configuration
Prabhat Nigam on Exchange
2013 SP1: Edge Transport
Server Installation and
Configuration
Health of the Database
2. If the state is in clean shutdown, move all the log files from the Transaction logs folder location
and then mount the stores.

Event
July 17, 2014: Exchange
2003 to 2010 Role Transfer

12/08/2014 05:39 p.m.

Exchange Database Recovery Using eseutil commands MSExcha...

2 de 16

Removal
Reporting
Role Transfer
Rollup Update
Schema Update
Scripting
SIP Federation
Site Updates
Tech Buzz
Tips
Transport
Uncategorized
Unified Messaging
Uninstallation
Update
Upgrade
Virtualization
Windows 2012 R2

http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

3. If the state is in Dirty shutdown as mentioned below, check if the log files that is indicated as
Logs required is available or now.

and Removal Challenges

Other cool places


Flipping Bits
Lets Exchange
MSExchangeTeam
PowerWindows

Archives
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
July 2010
June 2010
May 2010
April 2010
February 2010
January 2010
November 2009
October 2009
September 2009

Database in Dirty Shutdown


5. To make sure that the log files that is required is in a Clean state, you can perform Eseutil /ml
Path of the log files\log prefix as indicated below. This command will help you check the health
of all the log files in the location.

log file health eseutil /ml


6.If the log files are healthy, then perform the Soft recovery with the command Eseutil /r <Log
Prefix> /l Path of the log files /d Path of the database

Soft recovery eseutil/r


7. Once the command completes successfully, mount the stores.
You might get this error:
Operation terminated with error -1216 (JET_errAttachedDatabaseMismatch, An
outstanding database attachment has been detected at the start or end of recovery,
but database is missing or does not match attachment info) after n seconds.
To resolve this, run soft recovery with the /i switch at the end and it will override the EDB-STM
mismatch.
How to run HARD RECOVERY:
In case the required log files are not available in a clean state or missing, either restore from a
successful back up or perform Hard repair.
8. In case we have valid backup, then we can restore the files.
9. In any restoration software, once the restoration completes, it should create a location
containing the restore.env file along with the logs that were backed up without being committed to
the database that was backed up.

12/08/2014 05:39 p.m.

Exchange Database Recovery Using eseutil commands MSExcha...

3 de 16

July 2009
June 2009

http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

10. By default, we have the location as C:\Temp as indicated below:

Log restore location


11. This folder contains the restore.env along with the logs as indicated below:

Restore.env Location
12. Make sure we take a copy of the folder containing the logs and restore.env file as
the content of the folder will be lost if the hard recovery completes or fails.

Copy the folder post restore


13. In the command prompt, perform the Hard recovery from the BIN folder with the following
command:
Eseutil /cc Path of the restore.env containing folder

Hard Recovery eseutil /cc


14. The command will complete successfully:

12/08/2014 05:39 p.m.

Exchange Database Recovery Using eseutil commands MSExcha...

4 de 16

http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

Hard Recovery completion


15. If you check the folder that contained the restore.env file, we would find that to be empty:

Location becomes empty post Hard Recovery


16. If the backup was taken a few days back and there were logs created in the production
location once the backup was done, then we must make sure that the production location contains
the sequence of logs from the one in the restore.env location. In this case, the restore.env folder
contained the last log file as E0000003.log. If the production location does not contain a sequence
of this (i.e. E0000004.log), the hard recovery command will fail.
17. We can use the eseutil /cc Path of the restore.env folder /t in order to avoid playing the logs
in the production location. (Kindly make sure to take a copy of the folder once again before
performing the command as mentioned in step 12. However, in this case, there will be data loss of
the mails created after the backup was taken.
18. We can mount the stores successfully.
How to run HARD REPAIR:
19. We can Hard repair the databases, to get them back into a clean shut down state in case we
do not have a valid back up. To do so type the command:
D:\Program Files\Exchsrvr\Bin>eseutil /p D:\Exchsrvr\Mailbox Store (SERVER).edb

20.

When you are prompted to confirm this operation, choose OK.

12/08/2014 05:39 p.m.

Exchange Database Recovery Using eseutil commands MSExcha...

5 de 16

http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

Pop-up whilst repair


http://support.microsoft.com/?id=317014
21. The process completes successfully.

Repair process completed


How to run OFFLINE DEFRAG:
22. Once Eseutil /p finishes we will need to defrag the databases, to do so type the following
command: Note: You must have available hard disk space equal to 110 percent of the size of the
database that you want to defragment.
23. To defragment Priv.edb, type the following command at the command prompt, and then
press ENTER:
24. D:\Program Files\Exchsrvr\Bin>eseutil /d D:\Exchsrvr\Mailbox Store
(SERVER).edb

Offline Defrag
25. Note If the private and the public information store databases are large, this step may take
some time. When you are prompted to confirm this operation, choose OK.
XADM: How to Defragment with the Eseutil Utility (Eseutil.exe) http://support.microsoft.com
/?id=192185
26. Once Eseutil /d finishes Mount the store & Dismount the store immediately then perform the
below steps.

How to run ISINTEG:


27. Use Isinteg.exe to fix the Pub1.edb database and the Priv1.edb database. The Isinteg.exe
utility runs a test on all areas of each of the databases and reports the results. Isinteg.exe also
tries to fix any issues that are encountered.
28. To fix Priv1.edb, type the following command at a command prompt
29. E:\Program Files\Exchsrvr\Bin>isinteg -s (SERVER) -fix -test alltests and choose the
store that we are running the command on.

12/08/2014 05:39 p.m.

Exchange Database Recovery Using eseutil commands MSExcha...

6 de 16

http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

ISINTEG
You are prompted to select the database to be checked.

Index

Status

Database-Name

Storage Group Name: First Storage Group


1

Offline

Mailbox Store (servername)

Offline

Public Folder Store (servername)

30. Enter a number to select a database or press Return to exit.


31. You can only check databases that are marked as offline. The Information Store service
must be started, but the information store must be dismounted.
32. When you select a database, you are prompted with the following message to confirm the
selection:

You have selected First Storage Group / Mailbox Store <servername>


Continue? (Y/N)
33. Press Y and Enter to start checking the selected database.
34. You receive a summary report that indicates the number of tests that were run, the number of
warnings, the number of errors found, the number of fixes attempted, and the time it took for the
program to run. If there are any warnings, errors, or fixes, run the command again. Repeat this
step until there are no warnings, errors, or fixes reported and the report looks similar to the
following text:

Test reference table construction result:


0 error(s); 0 warning(s); 0 fix (es); 0 row(s); time: 0h: 0m: 0s
Test Folder Result:
0 error(s); 0 warning(s); 0 fix (es); 101 row(s); time: 0h: 0m: 0s
Now in test 3 (reference count verification) of total 3 tests;
100% complete.

ISINTEG Completion
Before you execute any command on the database, please make sure that QUICKEDITMODE is
not checked in command prompt properties as it may pause the process upon left click.

12/08/2014 05:39 p.m.

Exchange Database Recovery Using eseutil commands MSExcha...

7 de 16

http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

Quickeditmode disabled
Best Regards,
Meera Nair
Team @MSExchangeGuru

Posted July 12th, 2009 under Database Management. RSS 2.0 feed. Leave a response, or
trackback.

96 Responses to Exchange Database Recovery Using


eseutil commands
1. Gautam Says:
October 29th, 2009 at 6:51 am

Of all the eseutil explanations I have seen till date on net, yours one is the best one !!
2. Daryl Says:
December 1st, 2009 at 9:58 am

This is the best explanation of the Eseutil commands Ive ever seen. Ive never seen any
documentation that shows the exact commands in full so Ive never been able to get them
to work before.
3. shanish Says:
December 8th, 2009 at 1:41 pm

This is a very good documentation about Eseutil. i believe Microsoft should see this kind of
documentation for their future documentation creation process.
thank you
shanish
4. your fan Says:
March 18th, 2010 at 9:37 am

Hi
In This article you are the best
5. Billmy Says:
April 17th, 2010 at 3:52 pm

Excellent description on eseutil. best I have seen. thank you, I will test drive it.
6. Shambhu Sharma Says:
May 13th, 2010 at 10:08 am

12/08/2014 05:39 p.m.

Exchange Database Recovery Using eseutil commands MSExcha...

8 de 16

http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

Cool!! Great!!!
I like the way your explanation. Its covering all the details which could require by a good
exchange engineer for disaster recovery and I dont think so anybody will miss to recover
the databases after following your steps.
Bravo..bravo!
Now I am moving on next. I am an eager person of exchange but I didnt get right
opportunity to perform. Anyway it doesnt matter. I will request you to provide some links
or documents which will help me to do the troubleshooting on Exchange Attributes Level.
I show lot of Microsoft guys are solving the problem in second using Exchange Attributes. I
dont where they got those troubleshooting Idea. Most probably they would have got from
Microsoft itself.
I also want to do the troubleshooting on Exchange Attributes level but didnt get right
document after doing all Googling.
Thanks & Best Regards
Shambhu ^_^
7. Exchange 2010 database recovery MSExchangeGuru.com Says:
May 23rd, 2010 at 12:39 pm

[...] Exchange Database Recovery Using eseutil commands: http://msexchangeguru.com


/2009/07/12/exchange-database-recovery-using-eseutil-commands [...]
8. TheSpy Says:
July 13th, 2010 at 1:58 pm

To resolve -1216 error during soft recovery, you should use the following syntax :
eseutil /r /l Path of the log files /d
The trick here is to run the eseutil from database directory and to indicate /d parameter
with nothing behind. Source : Microsoft Support.
9. shafeeque Says:
July 21st, 2010 at 5:08 am

Hi,
Well Done job!!!!! I apprectate u r pateience
10. Dharmalingam, Says:
July 22nd, 2010 at 7:47 pm

Thanks for posting with snap shots. Its very usefull to everone.
11. Anand Sunka Says:
September 9th, 2010 at 2:24 pm

Hi ExchangeGuru,
Really u r the most appreciated guru of Exchange. This is one of the best explanations
about ESEutil & Isinteg Switches.
really hats off to you!
Cheers
Anand Sunka
12. Restore old mailbox for user migrated to exchange 2007 MSExchangeGuru.com Says:
October 31st, 2010 at 4:46 pm

[...] Restore the old exchange 2003 database and bring it to a clean shutdown following
this article 2. Mount the store in Recovery storage group and ensure you can see the
mailbox in disconnected [...]
13. Chris Johnson Says:
November 29th, 2010 at 12:20 am

Nice article and the best I have seen out there on eseutil.
14. Amit yadav Says:
December 3rd, 2010 at 11:22 am

one of the best explanations of how to use eseutil command effectively


15. Azmat Shaikh Says:
December 20th, 2010 at 6:02 am

Hi Meera,
Very helpfull notes, Everything you covered in this notes about exchange database
maintenance.
16. Daktus Says:
December 20th, 2010 at 6:03 am

I tried a lot these night. SBS2008 / I had made unfortunately the data-disk (with user data
and maildatabase) as backup disk, so sbs formatted it!!!
Then did restore. Then first en second would not mount. Then tried a lot: Microsoft sites,
tools from SBS2008 nothing worked: missing log files. Solutions by tools did not work. Then
found this site and I did exact what you said and it worked from te first steps (at night
03.00 am)!!! Thanks a lot.
I dont know if there is a link but before I did your steps I used the new switch eseutil /A.
Maybe this helped to give the good result, I am not shure.

12/08/2014 05:39 p.m.

Exchange Database Recovery Using eseutil commands MSExcha...

9 de 16

http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

17. Ratish Sekhar Says:


December 20th, 2010 at 6:53 am

Hi Daktus,
Thanks for the note and glad it worked. I have mentioned /a option here:
http://msexchangeguru.com/2010/07/27/e2k7-restore-939586631/
18. Restore mailbox database in Exchange 2010 Doug G Says:
January 11th, 2011 at 5:38 pm

[...] very good article relating to this can be found here http://msexchangeguru.com
/2009/07/12/exchange-database-recovery-using-eseutil-commands/ Categories: Exchange
2010 LikeBe the first to like this post. Comments (0) Trackbacks (0) [...]
19. xia Says:
January 13th, 2011 at 6:30 am

superb explanation of eseutil i have seen until now. thnks a lot guru
20. Rehman Says:
February 25th, 2011 at 5:34 pm

hi, i have edb file of 100GB+, i want to run ESEUTIL /P, ESEUTIL /D and ISINTEG. But i
think it will take huge time. 1: any idea of time it will take on a normal dual core system. 2:
Can i first make a new storage group and divide the mail boxes among them. then run
these tests on them. 3: Can i just copy the storage group to faster computer and run these
tests on there and after it is complete, copy back the files to original exchange server
paths? i may lost some mail as when i will copy the files back, it is the old DB file, any work
around this. Thanks. Please reply, much respected. Regards.
21. Ratish Sekhar Says:
February 25th, 2011 at 8:11 pm

Hi Rehman,
PFA answers:
1: any idea of time it will take on a normal dual core system.
As per: http://support.microsoft.com/kb/259851
This is because the repair runs at approximately 4 to 6 gigabytes (GB) per hour, and you
must run the Isinteg process after the repair, which runs at approximately 3 to 6 GB per
hour.
if you use the fastest possible hardware setup, a 50-GB database requires
approximately 8 hours for repair and approximately 8 hours for the Isinteg process, for a
total of 16 hours.
In my personal experience, the process is Hard repair (eseutil /p runs @ 4-6GB/hr) +
Offline defragmentation (eseutil /d runs @ 4-5 GB/hr) and ISINTEG (runs @ 2-4GB/hr)
2: Can i first make a new storage group and divide the mail boxes among them. then run
these tests on them.
This is the best option I can suggest. Make a plan and move users off to different mailbox
stores but ensure you dont move more than 4-6 user at the same time as it might kill your
server.
3: Can i just copy the storage group to faster computer and run these tests on there and
after it is complete, copy back the files to original exchange server paths? i may lost some
mail as when i will copy the files back, it is the old DB file, any work around this.
Well, you can even run eseutil commands on a machine running Windows XP. All you need
is some files (Eseutil.exe, Ese.dll, jcb.dll, and Exchmem.dll) from the bin folder as described
in: http://support.microsoft.com/kb/244525
I dont suggest this option if you are in a position to move users off to a new mailbox store.
Thanks,
Ratish Nair
MVP Exchange
22. Ajay Sharma Says:
March 5th, 2011 at 2:21 pm

Hi artical is realy good and easy to understand.


I have a quetion.
Do we require database to dismount while we are runing isinteg.
Exchange 2010 support isinteg or not.
23. Sunder Says:
March 5th, 2011 at 7:51 pm

@ Ajay
Yes you have to dismount the database for running ISINTEG (legacy & 2007).
Exchange 2010 comes with a cool new feature called as Repair Request. This is the feature
wherein you have an option of repairing the database when it is in Online Mode. And it
fixes the database corruption without taking the database offline.
24. Exchange Admin Says:
March 9th, 2011 at 6:58 pm

Excellent: clear and concise. Never used eseutil before (except /mh) and needed to do a

12/08/2014 05:39 p.m.

Exchange Database Recovery Using eseutil commands MSExcha...

10 de 16

http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

soft recovery today). Thanks.


25. Davis Says:
March 12th, 2011 at 8:28 am

Request you tp please provide a screen shot for


Operation terminated with error -1216 (JET_errAttachedDatabaseMismatch, An
outstanding database attachment has been detected at the start or end of recovery, but
database is missing or does not match attachment info) after n seconds.
how to use eseutil for VSS backup
26. Imran Khan Says:
March 19th, 2011 at 12:22 am

Thanks,
Excellent presentation about Eseutil commands which is very help full and I never seen
before in my search.
Thanks again for the same.
27. Ashok Says:
March 30th, 2011 at 11:46 pm

Hi
Good day to every one.
I had one question , if the database is not mount what are the steps we have to follow to
mount the database. Like what are all the command we have to give in order to mount the
database. I total out of mind regarding Eseutil when i have to give command in which
scenerio i have to give command, can any one guide me.
28. Helen Says:
April 10th, 2011 at 4:07 pm

I actually wanted to write down a message so as to say thanks to you for all of the
wonderful tips and hints you are posting on this website. Thank you once more for all the
details.
29. deepa Says:
April 28th, 2011 at 4:00 pm

you are the best. Thank you so much for putting down in detail screenshots. after using
google and yahoo I had almost given up on this. thanks for your help.
30. anon Says:
April 28th, 2011 at 7:25 pm

Hi,
Request you to please update for exchnage 2007 and 2010 for eseutil
31. James Says:
May 4th, 2011 at 5:02 am

Hey Meera,
I just wanted to thank you for this clearest explanation of the process i managed to find,
and it was really helpful in getting things fixed here.
32. Shubhangi Says:
May 5th, 2011 at 10:25 am

Informative and easy to understand.


33. Bill Says:
May 28th, 2011 at 7:32 pm

Excellent!!! Even fixed a broken Exchange 2010


34. WSA Says:
June 13th, 2011 at 10:14 am

my backup temporary failed and i need to flush the log files as its accumulating, how can i
perform eseutil without unmounting the DB?
Thanks in advance.
35. Amerique Says:
June 19th, 2011 at 2:15 pm

Awesome Post, never seen such an informative article about esutil !!


Bravo
36. Ratish Sekhar Says:
June 20th, 2011 at 9:03 am

Well you dont have to dismount the database


Just goto the log file location and arrange by date > Then move all the log files older than
current date Then run the backup and see if it can flush the log files
37. Murali Says:
July 11th, 2011 at 12:23 am

12/08/2014 05:39 p.m.

Exchange Database Recovery Using eseutil commands MSExcha...

11 de 16

http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

For good explanation we should praise. If we praise what they try to say is not good. This
is my opinion, so I am not going to give any comments on this document. They provide
very much needful information for exchange admins.
38. Sayed Abdul Nayeem Says:
July 21st, 2011 at 5:07 am

Its really very very nice doc ..and i have found this doc very very helpfull for restoring and
the way of explanation is too good.
I am very happy to found this kind of doc.
39. How to test the integrity of an Exchange database? - Admins Goodies Says:
August 12th, 2011 at 5:07 pm

[...] Here is one guide about how to use ESEUtil to do some basic database checks in
Exchange 2010: http://msexchangeguru.com/2009/07/12/exchange-database-recoveryusing-eseutil-commands/ [...]
40. Guillermo Correa Says:
August 26th, 2011 at 6:12 pm

This is a good document. This solved my problem. Its is very well detailed with a
procediment step by step.
Thanks
41. Sandeep78610 Says:
September 23rd, 2011 at 3:09 am

Thanks for explaining step by step process for recovery of database.


42. Ashish Kumar Says:
September 29th, 2011 at 8:31 am

Fantastic stuff..i have never seen before , such a brilliant approach towards ESEUTIL
info..Great Keep it up
43. siva Says:
October 3rd, 2011 at 7:21 pm

Hi Ratish, the /i command to everide the edm &stm mismatch does make soft recovery
work however when you check the status of edm file again post soft recovery, it comes as
dirty shut-down.
i am using E2k7.
any ideas?
44. Eng BK Says:
October 4th, 2011 at 12:22 am

Thanks a lot for this great thread which I found from search result! It really save my day as
yesterday I had exchange server2003 data store cant mount Error c1041724 after the
server restarted unattended for many times. The cooling heatsink of my HP ML350 was not
working causing the temperature to go up over 80 C degree! The server just shutdown by
itself after booting to w2003 when logon half wsy the process.
I have fixed the CPU heat issue but unable to bring up the exchange service due to
datastore mount error. Now after repairing the database(over 35GB of priv1.edb and stm
filesize) using eseutil /r and /i, its now back to normal
Thanks a lot!
EBK
45. Alex Says:
October 18th, 2011 at 4:55 am

Excellent presentation about Eseutil commands which is very help full and I never seen
before in my search.
Thanks Alex
46. A K Singh Says:
October 27th, 2011 at 4:17 am

Thanx a ton Meera,


Really a very hepful presentation. when i got a database error in exchange; I follow the
commands given and I got the solution. Screenshots are also very helpful. Thanx again.
47. Mike Says:
October 29th, 2011 at 7:02 pm

Excellent tutorial, certainly saved me from a nasty headache.


48. Adil Khan Says:
November 25th, 2011 at 7:50 pm

Ehlo Meera,
Gr8 job done on making disaster recovery article. It is very helpfull and easy to understand.
Continue this great g8 work on topic LCR, CCR, SCR & SCC.also please cover on DIAG
exchange 2010..
Cheers
@d!1
49. SBS 2011 Standard : Exchange 2010 Single Message Restore Title (Required) Says:
November 29th, 2011 at 8:49 am

12/08/2014 05:39 p.m.

Exchange Database Recovery Using eseutil commands MSExcha...

12 de 16

http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

[...] http://msexchangeguru.com/2009/07/12/exchange-database-recovery-using-eseutilcommands/ Rate this: Share this:ShareTwitterFacebookEmailPrintLike this:LikeBe the first


to like this post. [...]
50. Jason Says:
December 4th, 2011 at 4:10 pm

Very awesome write up. While on the phone with Microsoft Tech Support, I referenced your
site and write up and they agreed PERFECT! Thank you so much for the time and effort
you put into this
51. Aslam Says:
December 16th, 2011 at 9:04 am

Good Explanation About ESEUTIL.


52. Mohammed Tahir Says:
December 20th, 2011 at 2:58 pm

Very good presentation. Its very easy to understand.Thanks for the same.
53. Madan Says:
December 22nd, 2011 at 5:55 am

Gr8 work. I relay liked this article. Simple and precise.


54. raj Says:
December 22nd, 2011 at 10:56 am

This is good but only three times we can do repair once third time gets over you cannot do
the repair your database is gone for toss. so keep a flat file copy before doing this.
55. Gias Says:
January 31st, 2012 at 5:08 am

Thanks a lot for free useful topics. It was very helpful for me. Though besides this i
followed other sites. But this one is great. I have 50 GB data and full process need about
10 hours.
1. Take a copy of main data foler (Exchsrvr) and put it safe place
2. use useutil /mh to test health of database and got dirty shutdown.
3. use useutil /ml to test log file.
4. use useutil /r but it failed
5. use useutil /p for both database mail database and public folder database, successful
6. take a backup of repair database to a other folder for safety.
7. delete all log files and only except 2 edb and 2 stm files
8. mount data store just to check and then dismount
9. i have huge data so i avoid derangement
10. finally use isinteg -s servername -fix -test alltests and successful
Insallah, mail server now working properly.
Gias
56. Azad Kumar Nahar Says:
February 15th, 2012 at 8:53 am

Very awesome write up. I relay liked this article. Simple and precise.
57. Nilesh Gadkari Says:
February 25th, 2012 at 9:12 am

Excellent presentation about Eseutil commands which is very help full Gr8 work.
Nilesh..
58. Jeff Says:
March 8th, 2012 at 1:10 pm

Thanks! This saved me.


59. Jimmy Says:
March 26th, 2012 at 11:49 am

im running out of the space and i like to redirect the Temp direction to my other disk..
what is proper command ?
i tried with /t R:\Recovery
do i need to give /t R:\Recovery\recovery.edb name ? i tried this but it didnt work.. what
am i missing?
60. Chris Schaller Says:
April 2nd, 2012 at 2:03 am

Awesome article. Been struggling for a bit on this.


Would have been nice though for a heads up on the time this stuff takes to complete.
Took a full 18 hours (64982.27 seconds) to repair!
1 user had wiped their entire calendar events when they connected their iPhone for the first
time through iTunes I needed to restore just his mailbox from the previous nights
backup.

It would seem that in the question of Mac vs PC, even the devices are at war
61. Rajasekaran Says:
April 5th, 2012 at 1:19 am

12/08/2014 05:39 p.m.

Exchange Database Recovery Using eseutil commands MSExcha...

13 de 16

http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

Hi Meera,
Excellant document! Every ex.admin has to keep in hand.
Pls post 2k7, 2010 eseutils and high availability
God bless you and give good health to you.
62. SAF Says:
April 9th, 2012 at 7:02 am

the site is so wonderful! to say the least, it did save my job yesterday!
here is the account of my journey
1. Take a copy of main data folder (Exchsrvr) and put it safe place
2. used useutil /mh to test health of database and got dirty shutdown for both priv, and
pub
3. used useutil /ml to test log file.(i could not find the required log, and some where
damaged)
4. used useutil /r but it failed
5. used useutil /p for both database mail database and public folder database, successful
6. used useutil /d to defragment priv and pub databases,successful
7. still mount failed
8. used isinteg -s servername -fix -test alltests, failed
9. used useutil /g to defragment, successful
10.reused isinteg -s servername -fix -test alltests, successful
11.remount the databases, successful
mail server now working properly.
thanks Meera your are marvelous, my bread is safe at least for now!
63. Recovering Exchange configured with DAG using ZCB 4.2 | systemadminnotes Says:
April 11th, 2012 at 2:43 pm

[...] 4. Make sure restored database is in the clean state.http://msexchangeguru.com


/2009/07/12/exchange-database-recovery-using-eseutil-commands/ [...]
64. Brian Says:
August 11th, 2012 at 11:07 pm

Great walk through, I have just followed this, and it works great on 2010 too
65. Sivakumar Nagarajan Says:
August 13th, 2012 at 12:34 am

Really wonderful Meera and Rathish. This is really helped a lot. Once again thanks.
66. Bert Leen Says:
August 28th, 2012 at 5:21 am

I know that commands is working for recover edb files from corrupt and damaged
exchange server but they are not recover complete mails from exchange server. Thanks for
the great article though.
67. Pablo V Says:
August 29th, 2012 at 2:50 pm

Thanks a lot for your contribution. I was trying to mount our primary database for around 5
hours, but nothing.
I found this information. And i was able to mount the database.
Thanks again.
68. Martijn D Says:
September 12th, 2012 at 9:50 am

This is by far the best article Ive seen regarding ESEutil and recovering Exchange
databases. With this article I was able to succesfully restore a corrupted database in
Exchange 2007. Thank you very much!!!
69. justin Says:
September 13th, 2012 at 4:39 am

Excellent article about eseutil.solved my exchange dirty sgutdown problem Thanks.


70. kenneh Says:
September 28th, 2012 at 1:14 am

cant remember the last time i read an article soo clear and helpful. my exchange can finally
backup. Cheers!!
71. shabber Says:
October 8th, 2012 at 12:09 pm

it is the best article what ever i have seen regarding Eseutil tool.
Thanks.
S.Shabber(:$
72. satishkumar Says:
November 22nd, 2012 at 10:06 am

errer windows detected a hardisk ploblem


Backup your file immediatrly to provent information loss and then contact the

12/08/2014 05:39 p.m.

Exchange Database Recovery Using eseutil commands MSExcha...

14 de 16

http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

computer manfacturer to delermin if you need to repair or prplace the disk


73. Fredag 18.01.2013 G1bg Says:
January 18th, 2013 at 6:11 am

[...] Den planlagte backupen feila, og etter kort tid var serveren fylt opp med loggfiler.
Fann ein guide som kunne vre lysinga p problemet. Det synte seg at statusen p
databasen var Dirty [...]
74. Dave Dunkley Says:
January 21st, 2013 at 1:10 am

I have just repaired and restored my entire exchange database and remounted them
successfully with the advice and procedures in this article, thank you very much for posting
75. Ratish Sekhar Says:
January 21st, 2013 at 8:45 am

Youre welcome Dave


76. Adolfo Mosqueda Says:
January 23rd, 2013 at 11:14 am

Thanks for your info, it was very useful tu repair a DB. Excellent and very precise
77. JET_errMissingLogFile -528 -548 Exchange 2010 database recovery
MSExchangeGuru.com Says:
February 1st, 2013 at 4:43 pm

[...] Exchange Database Recovery Using eseutil commands: http://msexchangeguru.com


/2009/07/12/exchange-database-recovery-using-eseutil-commands/ [...]
78. Manu Says:
February 26th, 2013 at 1:19 am

Googled for some Eseutil helps and this link has come up..Excellent presentation..keep it up
79. Mital Says:
March 29th, 2013 at 9:25 am

This has to be one of the most useful pages ever on Exchange very simple to understand,
straight to the point. Found it extremely useful to do a recovery yesterday. The screenshots
and examples make it so much better than Microsoft official documentation.
80. Jennifer Says:
March 31st, 2013 at 11:55 pm

Well explained about Eseutil command


81. RobertO Says:
April 15th, 2013 at 3:31 am

I was wondering if you know whether changing priority of eseutil.exe in task manager after
it is running will help speed it up or is it not a wise idea to change it from normal?
82. Harsh Says:
May 12th, 2013 at 10:34 pm

Excellent document Meera. Thanks for sharing.


83. Jarmo Says:
June 5th, 2013 at 9:08 pm

Outstanding content! Thanks you saved my a__ today.


Jarmo
84. shabber Says:
July 16th, 2013 at 7:43 pm

very very best document..it has given me a clean and clear idea abt theEseutil cmds..
Thank you very much..
85. mike norwalk Says:
September 9th, 2013 at 12:32 pm

how do you run the ESE defrag util when you have a long file name. I am trying to run the
command line and it can not find the DB. I have tried all kinds of variations including 8.3
format but nothing seems to be working for me? Thoughts? Below is the error i receive.
M:\Program Files\Microsoft\Exchange Server\Mailbox\IS6>dir *.edb
Volume in drive M is Database
Volume Serial Number is 4211-5492
Directory of M:\Program Files\Microsoft\Exchange Server\Mailbox\IS6
09/09/2013 12:15 PM 9,733,160,960 Mailbox Database.edb
1 File(s) 9,733,160,960 bytes
0 Dir(s) 10,259,120,128 bytes free
M:\Program Files\Microsoft\Exchange Server\Mailbox\IS6>eseutil /d M:\Program
Files\Microsoft\Exchange Server\Mailbox\IS6\Mailbox Database.edb /t l:\temp.edb
Usage Error: Invalid argument Files\Microsoft\Exchange. Options must be preced
ed by - or /.

12/08/2014 05:39 p.m.

Exchange Database Recovery Using eseutil commands MSExcha...

15 de 16

http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

Extensible Storage Engine Utilities for Microsoft(R) Exchange Server


Version 08.01
Copyright (C) Microsoft Corporation. All Rights Reserved.
DESCRIPTION: Database utilities for the Extensible Storage Engine for Microsoft
(R) Exchange Server.
MODES OF OPERATION:
Defragmentation: ESEUTIL /d [options]
Recovery: ESEUTIL /r [options]
Integrity: ESEUTIL /g [options]
Checksum: ESEUTIL /k [options]
Repair: ESEUTIL /p [options]
File Dump: ESEUTIL /m[mode-modifier]
Copy File: ESEUTIL /y [options]
Restore: ESEUTIL /c[mode-modifier] [options]
<<<<>>>>
D=Defragmentation, R=Recovery, G=inteGrity, K=checKsum,
P=rePair, M=file duMp, Y=copY file, C=restore
86. mike norwalk Says:
September 9th, 2013 at 1:05 pm

i got the answer on another site. You need to put the full path in double quotes:
eseutil /d M:\Program Files\Microsoft\Exchange Server\Mailbox\IS6\Mailbox Database.edb
/t L:\Mailbox Database.edb
Defragmentation Status (% complete)
0 10 20 30 40 50 60 70 80 90 100
|-|-|-|-|-|-|-|-|-|-|

87. Mark Harby Says:


September 14th, 2013 at 5:43 am

Really good clear article, the sort you really need to find at 1:00am when the sky is falling
in.
Great work.
88. Exchange Database Recovery Using eseutil commands MSExchangeGuru.com - The
Ripe Group Says:
October 9th, 2013 at 2:54 am

[] Exchange Database Recovery Using eseutil commands MSExchangeGuru.com. []


89. Cannot View Public Folders either via Outlook or OWA - Babyraj.com Says:
October 24th, 2013 at 12:57 pm

[] Run a check on the database usage ESEUtil or ISInteg []


90. Anup Nair Says:
December 9th, 2013 at 10:54 am

This was just great>>>>>>>>>>>>>>>>>>>>>>


91. Herby Seedat Says:
January 16th, 2014 at 2:30 am

Hi there.
Weve had a failure resulting in a hard repair. Currently the repair is running at around 6gb
per hour, is there anyway to spend this up. We are running exchange 2007.
Thanks
92. Prabhat Nigam Says:
January 18th, 2014 at 6:08 pm

Unfortunately, repair will take this long. 6GB is a good speed. I expect 4-5GB/hour
93. Akhtar Shaikh Says:
January 24th, 2014 at 7:13 am

Excellent explanation
94. Problme serveur Exchange 2010 | Le cloud de Piermick Says:
February 12th, 2014 at 11:34 am

[] http://msexchangeguru.com/2009/07/12/exchange-database-recovery-using-eseutilcommands/ []
95. andy Says:
February 16th, 2014 at 2:16 pm

I had a SBS 2003 server motherboard fail this week. I was able to restore but the store
would not mount. I used your guide to fix it.
Thanks!!!!
96. Bennie Says:
March 29th, 2014 at 4:41 am

This is the best eseutil explanation i have ever seen. Doing a database softrecovery at the
moment, hope this will work, than i can continue repairing the SBS2011 server. Thnx a lot

12/08/2014 05:39 p.m.

Exchange Database Recovery Using eseutil commands MSExcha...

16 de 16

http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

Leave a Reply
Name (required)
Mail (will not be published) (required)
Website

Submit Comment
Notify me of followup comments via e-mail. You can also subscribe without commenting.
2012MSExchangeGuru.com All Rights Reserved | Privacy Policy
Entries (RSS) and Comments (RSS).

12/08/2014 05:39 p.m.

Vous aimerez peut-être aussi