?
Solved

Proper use of eseutil.exe to recover from missing/deleted MDBData logs

Posted on 2004-10-14
3
Medium Priority
?
430 Views
Last Modified: 2008-01-09
Anyone have any experience using the eseutil to recover from logs that have been deleted? I am missing one, due to the fact that disk space is limited. Had a power outage and UPS ran out and did not shut down server properly.

Upon reboot the information store did not mount making the active log files available for delettion, which they were.

Any advice most appreciated.
0
Comment
Question by:jabronicus
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 21

Accepted Solution

by:
marc_nivens earned 2000 total points
ID: 12314310
You cannot use eseutil to recover deleted log files.  You can use it to replay existing log files, or to repair a database when needed.  If you had a power outage and some logs were deleted, I would bet your database is dirty shutdown.  First, determine if the database is dirty shutdown with the following command:

eseutil /mh dbname.edb

Of course your db is probably called something like priv1.edb.  Just sub in your db name as needed.  Anyway, what you're looking for is
a value called state.  It will say either clean shutdown or dirty shutdown.

Now if your database is dirty shutdown, I would say stop right there and restore from your last good backup.  But, since the world isn't perfect and
we don't always have a good current backup, here are the repair instructions if that is not an option.  It will basically consist of 3 stages:  repair, defrag, and isinteg.

Repair (delete all logs first, only leave the .edb and .stm file):
eseutil /p dbname.edb

Defrag (must have 110% of db size free, or output to alternate location with /t switch)
eseutil /d dbname.edb /tx:\temp.edb

Isinteg
isinteg -fix -s servername -test alltests

Isinteg will give you a report of warnings, errors, and fixes.  Run it until you either get that down to 0 or start getting the same report twice in a row.
Once this is finished, you can mount your databases.  I would suggest a full backup at that point.




0
 

Author Comment

by:jabronicus
ID: 12316510
thanks a ton,  information store shut down clean, but public store did not. I was able to mount the information store by simply deleting all the logs in the MDBData folder. The public store required the steps above. I was unable to defrag due to the lack of disk space, but it still mounted.

Thanks a ton.
0
 
LVL 3

Expert Comment

by:ddrewtx
ID: 12319963
You da man, Nivenator!!

Take care,

Dale Drew
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In-place Upgrading Dirsync to Azure AD Connect
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Suggested Courses
Course of the Month10 days, 2 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question