MSExchangeGuru.com

Learn Exchange the Guru way !!!

 

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/

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.

Health of the Database

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.

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.

Database in Dirty Shutdown

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.

Database in Dirty Shutdown

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

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.

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

Log restore location

Log restore location

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

Restore.env Location

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

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

Hard Recovery – eseutil /cc

14. The command will complete successfully:

Hard Recovery completion

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

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.

Pop-up whilst repair

Pop-up whilst repair

http://support.microsoft.com/?id=317014

21. The process completes successfully.

Repair process completed

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

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. 

 

ISINTEG

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)

  2                    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

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.

Quickeditmode disabled

Quickeditmode disabled

Best Regards,

Meera Nair
Team @MSExchangeGuru

96 Responses to “Exchange Database Recovery – Using eseutil commands”

  1. Gautam Says:

    Of all the eseutil explanations I have seen till date on net, yours one is the best one !!

  2. Daryl Says:

    This is the best explanation of the Eseutil commands I’ve ever seen. I’ve never seen any documentation that shows the exact commands in full so I’ve never been able to get them to work before.

  3. shanish Says:

    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:

    Hi

    In This article you are the best

  5. Billmy Says:

    Excellent description on eseutil. best I have seen. thank you, I will test drive it.

  6. Shambhu Sharma Says:

    Cool!! Great!!!

    I like the way your explanation. It’s covering all the details which could require by a good exchange engineer for disaster recovery and I don’t 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 didn’t get right opportunity to perform. Anyway it doesn’t 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 don’t 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 didn’t get right document after doing all Googling.

    Thanks & Best Regards
    Shambhu ^_^

  7. Exchange 2010 database recovery « MSExchangeGuru.com Says:

    [...] Exchange Database Recovery – Using eseutil commands: http://msexchangeguru.com/2009/07/12/exchange-database-recovery-using-eseutil-commands [...]

  8. TheSpy Says:

    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:

    Hi,
    Well Done job!!!!! I apprectate u r pateience

  10. Dharmalingam, Says:

    Thanks for posting with snap shots. Its very usefull to everone.

  11. Anand Sunka Says:

    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:

    [...] 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:

    Nice article and the best I have seen out there on eseutil.

  14. Amit yadav Says:

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

  15. Azmat Shaikh Says:

    Hi Meera,

    Very helpfull notes, Everything you covered in this notes about exchange database maintenance.

  16. Daktus Says:

    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 don’t 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.

  17. Ratish Sekhar Says:

    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:

    [...] 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:

    superb explanation of eseutil i have seen until now. thnks a lot guru

  20. Rehman Says:

    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:

    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 store’s 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:

    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:

    @ 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:

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

  25. Davis Says:

    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:

    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:

    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:

    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:

    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:

    Hi,

    Request you to please update for exchnage 2007 and 2010 for eseutil

  31. James Says:

    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:

    Informative and easy to understand.

  33. Bill Says:

    Excellent!!! Even fixed a broken Exchange 2010…

  34. WSA Says:

    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:

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

  36. Ratish Sekhar Says:

    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:

    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:

    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:

    [...] 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-recovery-using-eseutil-commands/ [...]

  40. Guillermo Correa Says:

    This is a good document. This solved my problem. It’s is very well detailed with a procediment step by step.

    Thanks

  41. Sandeep78610 Says:

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

  42. Ashish Kumar Says:

    Fantastic stuff…..i have never seen before , such a brilliant approach towards ESEUTIL info…..Great Keep it up……

  43. siva Says:

    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:

    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 can’t 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, it’s now back to normal

    Thanks a lot!
    EBK

  45. Alex Says:

    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:

    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:

    Excellent tutorial, certainly saved me from a nasty headache.

  48. Adil Khan Says:

    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:

    [...] http://msexchangeguru.com/2009/07/12/exchange-database-recovery-using-eseutil-commands/ Rate this: Share this:ShareTwitterFacebookEmailPrintLike this:LikeBe the first to like this post. [...]

  50. Jason Says:

    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:

    Good Explanation About ESEUTIL.

  52. Mohammed Tahir Says:

    Very good presentation. Its very easy to understand.Thanks for the same.

  53. Madan Says:

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

  54. raj Says:

    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:

    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:

    Very awesome write up. I relay liked this article. Simple and precise.

  57. Nilesh Gadkari Says:

    Excellent presentation about Eseutil commands which is very help full Gr8 work.
    Nilesh..

  58. Jeff Says:

    Thanks! This saved me.

  59. Jimmy Says:

    i’m 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 didn’t work.. what am i missing?

  60. Chris Schaller Says:

    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 night’s backup.

    It would seem that in the question of Mac vs PC, even the devices are at war :)

  61. Rajasekaran Says:

    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:

    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:

    [...] 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:

    Great walk through, I have just followed this, and it works great on 2010 too :-)

  65. Sivakumar Nagarajan Says:

    Really wonderful Meera and Rathish. This is really helped a lot. Once again thanks.

  66. Bert Leen Says:

    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:

    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:

    This is by far the best article I’ve 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:

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

  70. kenneh Says:

    can’t remember the last time i read an article soo clear and helpful. my exchange can finally backup. Cheers!!

  71. shabber Says:

    it is the best article what ever i have seen regarding Eseutil tool.

    Thanks.
    S.Shabber(:$

  72. satishkumar Says:

    errer – windows detected a hardisk ploblem

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

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

  73. Fredag 18.01.2013 « G1bg Says:

    [...] Den planlagte backupen feila, og etter kort tid var serveren fylt opp med loggfiler. Fann ein guide som kunne være løysinga på problemet. Det synte seg at statusen på databasen var “Dirty [...]

  74. Dave Dunkley Says:

    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:

    Youre welcome Dave…

  76. Adolfo Mosqueda Says:

    Thank´s 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:

    [...] Exchange Database Recovery – Using eseutil commands: http://msexchangeguru.com/2009/07/12/exchange-database-recovery-using-eseutil-commands/ [...]

  78. Manu Says:

    Googled for some Eseutil helps and this link has come up..Excellent presentation..keep it up

  79. Mital Says:

    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:

    Well explained about Eseutil command

  81. RobertO Says:

    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:

    Excellent document Meera. Thanks for sharing.

  83. Jarmo Says:

    Outstanding content! Thanks you saved my a__ today.

    Jarmo

  84. shabber Says:

    very very best document..it has given me a clean and clear idea abt theEseutil cmds..

    Thank you very much..

  85. mike norwalk Says:

    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 ‘/’.

    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:

    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:

    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:

    […] Exchange Database Recovery – Using eseutil commands « MSExchangeGuru.com. […]

  89. Cannot View Public Folders either via Outlook or OWA - Babyraj.com Says:

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

  90. Anup Nair Says:

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

  91. Herby Seedat Says:

    Hi there.

    We’ve 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:

    Unfortunately, repair will take this long. 6GB is a good speed. I expect 4-5GB/hour

  93. Akhtar Shaikh Says:

    Excellent explanation

  94. Problème serveur Exchange 2010 | Le cloud de Piermick Says:

    […] http://msexchangeguru.com/2009/07/12/exchange-database-recovery-using-eseutil-commands/ […]

  95. andy Says:

    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:

    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

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.