02 Reparar BAse de Datos Exchange 2010 Eseutil

16
MSExchangeGuru.com Learn Exchange the Guru way !!! HOME THE TEAM CONTACT US -MS EXCHANGE GURU DISCLAIMER MSEXCHANGEGURU ON YOUTUBE « Online and Offline Defragmentation – What it does ?? Using Recovery Storage Group to Mount a Blank Database and Merge Data » 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 2. If the state is in clean shutdown, move all the log files from the Transaction logs folder location and then mount the stores. 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 MSExchangeGuru 1,063 Like Like MVP Exchange Subcribe to MSExchangeGuru Sign up for our NewsLetter and article updates Subscribe to MSExchangeGuru 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 Event July 17, 2014: Exchange 2003 to 2010 Role Transfer Exchange Database Recovery – Using eseutil commands « MSExcha... http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u... 1 de 16 12/08/2014 05:39 p.m.

description

Repara base de datos exchange 2010 a otro oraagnizacion Exchange 2010,

Transcript of 02 Reparar BAse de Datos Exchange 2010 Eseutil

Page 1: 02 Reparar BAse de Datos Exchange 2010 Eseutil

MSExchangeGuru.comLearn Exchange the Guru way !!!

HOME THE TEAM CONTACT US -MS EXCHANGE GURU DISCLAIMER MSEXCHANGEGURU ON YOUTUBE

« Online and Offline Defragmentation – What itdoes ??

Using Recovery Storage Group to Mount a BlankDatabase and Merge Data »

Exchange Database Recovery – Using eseutil commands

The real job of an exchange administrator is to maintain high availability when it comes to amessaging environment.

Below mentioned processes are not done on a day to day basis, but understanding how theprocess 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 databasetechnology:

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 ExchangeJET database stores information properly arranged in physical and logical pages and how therepair, 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 andhow 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 thedatabase.

Health of the Database

2. If the state is in clean shutdown, move all the log files from the Transaction logs folder locationand then mount the stores.

Categories7.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 OnlineProtection

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

MSExchangeGuru

1,063LikeLike

MVP Exchange

Subcribe to

MSExchangeGuruSign up for our NewsLetterand article updates Subscribeto MSExchangeGuru

Follow Us!

Recent CommentsPrabhat Nigam on CrossForest E2K3 to 2010 MailboxMigration with linkedMailboxes

JVASCO on Cross Forest E2K3to 2010 Mailbox Migrationwith linked Mailboxes

Prabhat Nigam on Exchange2013 SP1: Edge TransportServer Installation andConfiguration

Jason on Exchange 2013 SP1:Edge Transport ServerInstallation and Configuration

Prabhat Nigam on Exchange2013 SP1: Edge TransportServer Installation andConfiguration

EventJuly 17, 2014: Exchange2003 to 2010 Role Transfer

Exchange Database Recovery – Using eseutil commands « MSExcha... http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

1 de 16 12/08/2014 05:39 p.m.

Page 2: 02 Reparar BAse de Datos Exchange 2010 Eseutil

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

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 healthof 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 <LogPrefix> /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-STMmismatch.

How to run HARD RECOVERY:

In case the required log files are not available in a clean state or missing, either restore from asuccessful 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 locationcontaining the restore.env file along with the logs that were backed up without being committed tothe database that was backed up.

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

ArchivesJuly 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

and Removal Challenges

Other cool placesFlipping Bits

Lets Exchange

MSExchangeTeam

PowerWindows

Exchange Database Recovery – Using eseutil commands « MSExcha... http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

2 de 16 12/08/2014 05:39 p.m.

Page 3: 02 Reparar BAse de Datos Exchange 2010 Eseutil

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

Eseutil /cc “Path of the restore.env containing folder”

Hard Recovery – eseutil /cc

14. The command will complete successfully:

July 2009

June 2009

Exchange Database Recovery – Using eseutil commands « MSExcha... http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

3 de 16 12/08/2014 05:39 p.m.

Page 4: 02 Reparar BAse de Datos Exchange 2010 Eseutil

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 productionlocation once the backup was done, then we must make sure that the production location containsthe sequence of logs from the one in the restore.env location. In this case, the restore.env foldercontained the last log file as E0000003.log. If the production location does not contain a sequenceof 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 logsin the production location. (Kindly make sure to take a copy of the folder once again beforeperforming the command as mentioned in step 12. However, in this case, there will be data loss ofthe 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 wedo 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.

Exchange Database Recovery – Using eseutil commands « MSExcha... http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

4 de 16 12/08/2014 05:39 p.m.

Page 5: 02 Reparar BAse de Datos Exchange 2010 Eseutil

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 followingcommand: Note: You must have available hard disk space equal to 110 percent of the size of thedatabase that you want to defragment.

23. To defragment Priv.edb, type the following command at the command prompt, and thenpress 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 takesome 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 thebelow steps.

How to run ISINTEG:

27. Use Isinteg.exe to fix the Pub1.edb database and the Priv1.edb database. The Isinteg.exeutility runs a test on all areas of each of the databases and reports the results. Isinteg.exe alsotries 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 thestore that we are running the command on.

Exchange Database Recovery – Using eseutil commands « MSExcha... http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

5 de 16 12/08/2014 05:39 p.m.

Page 6: 02 Reparar BAse de Datos Exchange 2010 Eseutil

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

“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 ofwarnings, the number of errors found, the number of fixes attempted, and the time it took for theprogram 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 thefollowing 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.

Exchange Database Recovery – Using eseutil commands « MSExcha... http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

6 de 16 12/08/2014 05:39 p.m.

Page 7: 02 Reparar BAse de Datos Exchange 2010 Eseutil

Quickeditmode disabled

Best Regards,

Meera Nair

Team @MSExchangeGuru

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

96 Responses to “Exchange Database Recovery – Using

eseutil commands”

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 !!

1.

Daryl Says:December 1st, 2009 at 9:58 am

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

2.

shanish Says:December 8th, 2009 at 1:41 pm

This is a very good documentation about Eseutil. i believe Microsoft should see this kind ofdocumentation for their future documentation creation process.

thank youshanish

3.

your fan Says:March 18th, 2010 at 9:37 am

Hi

In This article you are the best

4.

Billmy Says:April 17th, 2010 at 3:52 pm

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

5.

Shambhu Sharma Says:May 13th, 2010 at 10:08 am

6.

Exchange Database Recovery – Using eseutil commands « MSExcha... http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

7 de 16 12/08/2014 05:39 p.m.

Page 8: 02 Reparar BAse de Datos Exchange 2010 Eseutil

Cool!! Great!!!

I like the way your explanation. It’s covering all the details which could require by a goodexchange engineer for disaster recovery and I don’t think so anybody will miss to recoverthe 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 rightopportunity to perform. Anyway it doesn’t matter. I will request you to provide some linksor 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. Idon’t where they got those troubleshooting Idea. Most probably they would have got fromMicrosoft itself.

I also want to do the troubleshooting on Exchange Attributes level but didn’t get rightdocument after doing all Googling.

Thanks & Best RegardsShambhu ^_^

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

7.

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 parameterwith nothing behind. Source : Microsoft Support.

8.

shafeeque Says:July 21st, 2010 at 5:08 am

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

9.

Dharmalingam, Says:July 22nd, 2010 at 7:47 pm

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

10.

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 explanationsabout ESEutil & Isinteg Switches.

really hats off to you!

CheersAnand Sunka

11.

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 followingthis article 2. Mount the store in Recovery storage group and ensure you can see themailbox in disconnected [...]

12.

Chris Johnson Says:November 29th, 2010 at 12:20 am

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

13.

Amit yadav Says:December 3rd, 2010 at 11:22 am

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

14.

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

Hi Meera,

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

15.

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 dataand 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. Thenfound this site and I did exact what you said and it worked from te first steps (at night03.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.

16.

Exchange Database Recovery – Using eseutil commands « MSExcha... http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

8 de 16 12/08/2014 05:39 p.m.

Page 9: 02 Reparar BAse de Datos Exchange 2010 Eseutil

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/

17.

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: Exchange2010 LikeBe the first to like this post. Comments (0) Trackbacks (0) [...]

18.

xia Says:January 13th, 2011 at 6:30 am

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

19.

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 ithink 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 runthese tests on them. 3: Can i just copy the storage group to faster computer and run thesetests on there and after it is complete, copy back the files to original exchange serverpaths? i may lost some mail as when i will copy the files back, it is the old DB file, any workaround this. Thanks. Please reply, much respected. Regards.

20.

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 youmust run the Isinteg process after the repair, which runs at approximately 3 to 6 GB perhour….”

“”…if you use the fastest possible hardware setup, a 50-GB database requiresapproximately 8 hours for repair and approximately 8 hours for the Isinteg process, for atotal 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 runthese tests on them.

This is the best option I can suggest. Make a plan and move users off to different mailboxstore’s but ensure you dont move more than 4-6 user at the same time as it might kill yourserver.

3: Can i just copy the storage group to faster computer and run these tests on there andafter it is complete, copy back the files to original exchange server paths? i may lost somemail 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 needis some files (Eseutil.exe, Ese.dll, jcb.dll, and Exchmem.dll) from the bin folder as describedin: 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 NairMVP Exchange

21.

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.

22.

Sunder Says:March 5th, 2011 at 7:51 pm

@ AjayYes 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 featurewherein you have an option of repairing the database when it is in Online Mode. And itfixes the database corruption without taking the database offline.

23.

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

24.

Exchange Database Recovery – Using eseutil commands « MSExcha... http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

9 de 16 12/08/2014 05:39 p.m.

Page 10: 02 Reparar BAse de Datos Exchange 2010 Eseutil

soft recovery today). Thanks.

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, Anoutstanding database attachment has been detected at the start or end of recovery, butdatabase is missing or does not match attachment info) after n seconds.”

how to use eseutil for VSS backup

25.

Imran Khan Says:March 19th, 2011 at 12:22 am

Thanks,

Excellent presentation about Eseutil commands which is very help full and I never seenbefore in my search.Thanks again for the same.

26.

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 tomount the database. Like what are all the command we have to give in order to mount thedatabase. I total out of mind regarding Eseutil when i have to give command in whichscenerio i have to give command, can any one guide me.

27.

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 thewonderful tips and hints you are posting on this website. Thank you once more for all thedetails.

28.

deepa Says:April 28th, 2011 at 4:00 pm

you are the best. Thank you so much for putting down in detail screenshots. after usinggoogle and yahoo I had almost given up on this. thanks for your help.

29.

anon Says:April 28th, 2011 at 7:25 pm

Hi,

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

30.

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.

31.

Shubhangi Says:May 5th, 2011 at 10:25 am

Informative and easy to understand.

32.

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

Excellent!!! Even fixed a broken Exchange 2010…

33.

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 iperform eseutil without unmounting the DB?

Thanks in advance.

34.

Amerique Says:June 19th, 2011 at 2:15 pm

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

Bravo

35.

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 thancurrent date… Then run the backup and see if it can flush the log files…

36.

Murali Says:July 11th, 2011 at 12:23 am

37.

Exchange Database Recovery – Using eseutil commands « MSExcha... http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

10 de 16 12/08/2014 05:39 p.m.

Page 11: 02 Reparar BAse de Datos Exchange 2010 Eseutil

For good explanation we should praise. If we praise what they try to say is not good. Thisis my opinion, so I am not going to give any comments on this document. They providevery much needful information for exchange admins.

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 andthe way of explanation is too good.I am very happy to found this kind of doc.

38.

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 inExchange 2010: http://msexchangeguru.com/2009/07/12/exchange-database-recovery-using-eseutil-commands/ [...]

39.

Guillermo Correa Says:August 26th, 2011 at 6:12 pm

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

Thanks

40.

Sandeep78610 Says:September 23rd, 2011 at 3:09 am

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

41.

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

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

42.

siva Says:October 3rd, 2011 at 7:21 pm

Hi Ratish, the /i command to everide the edm &stm mismatch does make soft recoverywork however when you check the status of edm file again post soft recovery, it comes asdirty shut-down.i am using E2k7.any ideas?

43.

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 asyesterday I had exchange server2003 data store can’t mount Error c1041724 after theserver restarted unattended for many times. The cooling heatsink of my HP ML350 was notworking causing the temperature to go up over 80 C degree! The server just shutdown byitself 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 todatastore mount error. Now after repairing the database(over 35GB of priv1.edb and stmfilesize) using eseutil /r and /i, it’s now back to normal

Thanks a lot!EBK

44.

Alex Says:October 18th, 2011 at 4:55 am

Excellent presentation about Eseutil commands which is very help full and I never seenbefore in my search.Thanks Alex

45.

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 thecommands given and I got the solution. Screenshots are also very helpful. Thanx again.

46.

Mike Says:October 29th, 2011 at 7:02 pm

Excellent tutorial, certainly saved me from a nasty headache.

47.

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 DIAGexchange 2010…..

Cheers@d!1

48.

SBS 2011 Standard : Exchange 2010 Single Message Restore « Title (Required) Says:November 29th, 2011 at 8:49 am

49.

Exchange Database Recovery – Using eseutil commands « MSExcha... http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

11 de 16 12/08/2014 05:39 p.m.

Page 12: 02 Reparar BAse de Datos Exchange 2010 Eseutil

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

Jason Says:December 4th, 2011 at 4:10 pm

Very awesome write up. While on the phone with Microsoft Tech Support, I referenced yoursite and write up and they agreed… PERFECT! Thank you so much for the time and effortyou put into this…

50.

Aslam Says:December 16th, 2011 at 9:04 am

Good Explanation About ESEUTIL.

51.

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

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

52.

Madan Says:December 22nd, 2011 at 5:55 am

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

53.

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 dothe repair your database is gone for toss. so keep a flat file copy before doing this.

54.

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 ifollowed other sites. But this one is great. I have 50 GB data and full process need about10 hours.1. Take a copy of main data foler (Exchsrvr) and put it safe place2. 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 failed5. use useutil /p for both database mail database and public folder database, successful6. 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 files8. mount data store just to check and then dismount9. i have huge data so i avoid derangement10. finally use isinteg -s servername -fix -test alltests and successful

Insallah, mail server now working properly.

Gias

55.

Azad Kumar Nahar Says:February 15th, 2012 at 8:53 am

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

56.

Nilesh Gadkari Says:February 25th, 2012 at 9:12 am

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

57.

Jeff Says:March 8th, 2012 at 1:10 pm

Thanks! This saved me.

58.

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

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.. whatam i missing?

59.

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 firsttime through iTunes… I needed to restore just his mailbox from the previous night’sbackup.

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

60.

Rajasekaran Says:April 5th, 2012 at 1:19 am

61.

Exchange Database Recovery – Using eseutil commands « MSExcha... http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

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

Page 13: 02 Reparar BAse de Datos Exchange 2010 Eseutil

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.

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 journey1. Take a copy of main data folder (Exchsrvr) and put it safe place2. used useutil /mh to test health of database and got dirty shutdown for both priv, andpub3. used useutil /ml to test log file.(i could not find the required log, and some wheredamaged)4. used useutil /r but it failed5. used useutil /p for both database mail database and public folder database, successful6. used useutil /d to defragment priv and pub databases,successful7. still mount failed8. used isinteg -s servername -fix -test alltests, failed9. used useutil /g to defragment, successful10.reused isinteg -s servername -fix -test alltests, successful11.remount the databases, successfulmail server now working properly.thanks Meera your are marvelous, my bread is safe at least for now!

62.

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

63.

Brian Says:August 11th, 2012 at 11:07 pm

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

64.

Sivakumar Nagarajan Says:August 13th, 2012 at 12:34 am

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

65.

Bert Leen Says:August 28th, 2012 at 5:21 am

I know that commands is working for recover edb files from corrupt and damagedexchange server but they are not recover complete mails from exchange server. Thanks forthe great article though.

66.

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 5hours, but nothing.

I found this information. And i was able to mount the database.

Thanks again.

67.

Martijn D Says:September 12th, 2012 at 9:50 am

This is by far the best article I’ve seen regarding ESEutil and recovering Exchangedatabases. With this article I was able to succesfully restore a corrupted database inExchange 2007. Thank you very much!!!

68.

justin Says:September 13th, 2012 at 4:39 am

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

69.

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

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

70.

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(:$

71.

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

72.

Exchange Database Recovery – Using eseutil commands « MSExcha... http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

13 de 16 12/08/2014 05:39 p.m.

Page 14: 02 Reparar BAse de Datos Exchange 2010 Eseutil

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

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 være løysinga på problemet. Det synte seg at statusen pådatabasen var “Dirty [...]

73.

Dave Dunkley Says:January 21st, 2013 at 1:10 am

I have just repaired and restored my entire exchange database and remounted themsuccessfully with the advice and procedures in this article, thank you very much for posting

74.

Ratish Sekhar Says:January 21st, 2013 at 8:45 am

Youre welcome Dave…

75.

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

Thank´s for your info, it was very useful tu repair a DB. Excellent and very precise

76.

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

77.

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

78.

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 screenshotsand examples make it so much better than Microsoft official documentation.

79.

Jennifer Says:March 31st, 2013 at 11:55 pm

Well explained about Eseutil command

80.

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

I was wondering if you know whether changing priority of eseutil.exe in task manager afterit is running will help speed it up or is it not a wise idea to change it from normal?

81.

Harsh Says:May 12th, 2013 at 10:34 pm

Excellent document Meera. Thanks for sharing.

82.

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

Outstanding content! Thanks you saved my a__ today.

Jarmo

83.

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..

84.

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 thecommand line and it can not find the DB. I have tried all kinds of variations including 8.3format but nothing seems to be working for me? Thoughts? Below is the error i receive.

M:\Program Files\Microsoft\Exchange Server\Mailbox\IS6>dir *.edbVolume in drive M is DatabaseVolume 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.edb1 File(s) 9,733,160,960 bytes0 Dir(s) 10,259,120,128 bytes free

M:\Program Files\Microsoft\Exchange Server\Mailbox\IS6>eseutil /d M:\ProgramFiles\Microsoft\Exchange Server\Mailbox\IS6\Mailbox Database.edb /t l:\temp.edb

Usage Error: Invalid argument ‘Files\Microsoft\Exchange’. Options must be preceded by ‘-’ or ‘/’.

85.

Exchange Database Recovery – Using eseutil commands « MSExcha... http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

14 de 16 12/08/2014 05:39 p.m.

Page 15: 02 Reparar BAse de Datos Exchange 2010 Eseutil

Extensible Storage Engine Utilities for Microsoft(R) Exchange ServerVersion 08.01Copyright (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

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|—-|—-|—-|—-|—-|—-|—-|—-|—-|—-|……………………………

86.

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 fallingin.Great work.

87.

Exchange Database Recovery – Using eseutil commands « MSExchangeGuru.com - TheRipe Group Says:October 9th, 2013 at 2:54 am

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

88.

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 […]

89.

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

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

90.

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

Hi there.

We’ve had a failure resulting in a hard repair. Currently the repair is running at around 6gbper hour, is there anyway to spend this up. We are running exchange 2007.

Thanks

91.

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

92.

Akhtar Shaikh Says:January 24th, 2014 at 7:13 am

Excellent explanation

93.

Problème 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-eseutil-commands/ […]

94.

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 storewould not mount. I used your guide to fix it.Thanks!!!!

95.

Bennie Says:March 29th, 2014 at 4:41 am

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

96.

Exchange Database Recovery – Using eseutil commands « MSExcha... http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

15 de 16 12/08/2014 05:39 p.m.

Page 16: 02 Reparar BAse de Datos Exchange 2010 Eseutil

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 PolicyEntries (RSS) and Comments (RSS).

Exchange Database Recovery – Using eseutil commands « MSExcha... http://msexchangeguru.com/2009/07/12/exchange-database-recovery-u...

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