Solved

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

Posted on 2004-10-14
3
421 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 500 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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

Suggested Solutions

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
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 a Contact 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 Recipients >> Contact ta…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …

726 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