Solved

Exactly how to update an old Exchange .EDB using recent logs and the .STM file?

Posted on 2009-07-01
5
647 Views
Last Modified: 2012-06-22
Lat week I had disk issues on an Exchange Server 2003 (SBS2003). After a painful process of scanning and copying the data from the bad disk to a new one, I got Exchange back up and running with pre-crash DB for a few days. However, yesterday, the priv1.edb file got reduced from around 20Gig to 0 Bytes, after a CHKDSK. (I suspect there's a problem with the drive controller, because it's still reporting Delayed Write Failed errors despite the new disk and new cable)

Luckily, I had last weeks barely functioning disk and managed to get off another copy of last week's MDBDATA folder, complete with logs and .STM file.

So I've moved the recent MDBDATA folder (like I say, it has the logs and stm file in it too) into another location. 2 logs files couldn't be copied because of corruption - so it's short of these files.

I then put last weeks copy in its place at C:\Program Files\Exchsrvr\MDBDATA\

I then mounted the stores - and viola -  I've got last week's DB online.

Now... can I update this older .EDB file with the more recent .STM and logs? If so, how exactly do I do this? (I'm a relative Noobie at this). ESEUTIL?

And does it matter that a few of the log files are missing? Will it complete and miss out some data, or not even complete?
0
Comment
Question by:peter-h
  • 2
5 Comments
 
LVL 76

Accepted Solution

by:
Alan Hardisty earned 500 total points
ID: 24757664
The following link describes how to replay the log files and should bring your .EDB up to date from your remaining log files.  It should answer all your questions.
http://technet.microsoft.com/en-us/library/aa997761(EXCHG.65).aspx 
0
 
LVL 1

Author Comment

by:peter-h
ID: 24760459
Thanks Alan. Looks perfect for what I think I need to know. Will let you know how it goes...

0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 24993122
I would imagine that Peter is working happily by now and just neglected to close off the question.  He would have come back if it had not worked, so I would recommend closing the question and awarding me the points (although I am slightly biased ;-) )
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

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
To show how to generate a certificate request 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 Servers >> Certificates…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

822 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