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
Solved

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

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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. 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

Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
In this video we show how to create a Shared Mailbox 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 >> Sha…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

856 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