Solved

Exchange 2010 Missing emails after restoring C Drive

Posted on 2014-01-01
6
261 Views
Last Modified: 2014-01-04
hi Experts,

Our Exchange server  crashed, so we had to restore C drive from our backup from 3 weeks ago.
Our Database and logs are sitting on D drive (please note that we didn't restore D drive. Just the C drive was restored).
Once we resorted C drive we lost all emails from Last 3 weeks.
I triple checked location of our Database and log files. They are definitely sitting on D drive.
I ran out of ideas. I checked Check files, log files  location in  D drive and Database location as well.
Can you please help me in resolving this issue?
0
Comment
Question by:ukitsme
  • 3
  • 2
6 Comments
 
LVL 11

Expert Comment

by:Gregory Miller
ID: 39750359
If you restore the Exchange Databases, that only goes to the point of the last backup. Then you need to take all of the transaction logs and run a process on them I believe to rebatch the emails that were received since the logs were last backed up and purged. This will bring your mail database back to present.
0
 
LVL 11

Expert Comment

by:Gregory Miller
ID: 39750362
Sorry, I missed the part where your DB was on D. I am not certain why that would cause your server to lose mail. Have you tried doing a repair on the ExchangeDB? possibly they have integrity issues that will bring back the mail, or at least allow it to be seen.
0
 
LVL 1

Author Comment

by:ukitsme
ID: 39750387
yes we tried repairing it.
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 63

Accepted Solution

by:
Simon Butler (Sembee) earned 500 total points
ID: 39750989
You haven't said how exactly you repaired the server, as being three weeks old would tend to suggest that you have restored something that you shouldn't have done.

If the databases and logs are on another drive then there would be no need to restore any backup - just reinstall Exchange using the recovery options and then attach the existing databases.

I think your best option here is to contact Microsoft support and get them involved. My instinct is that you have restored incorrectly. If the logs are in place then you may be able to get Exchange to replay the logs, but you need to be very careful because if it is done wrong then you will lose everything - Microsoft support are the best people to assist here.

Simon.
0
 
LVL 1

Author Comment

by:ukitsme
ID: 39755542
hi Simon,

We have restored Exchange many times. We never had this problem.

We got in touch with Microsoft they were not able to figure out why it happened in the first place but they helped us fix the issue.

Here is how we fixed it (not exactly fixing it, but sort of solution :) )
Create new database using command:
 New-MailboxDatabase -Recovery -Name ManagementRDB -Server <servername> -EdbFilePath "location" -LogFolderPath "location"
dismount live database
Run ESutil /mh for both old and new database  (just for checking status)
Verify log files of old database
eseutil /ml
Copy logs and DB from our backup to new location
Merge backup to recover database
eseutil /r e14 /l "<location>" /d "<location>" /a /i
run an eseutil /mh on the recovered DB to ensure Clean Shutdown
rename edb file to what ever name you want to change it to.
Mount both existing and recovered DB's
In Exch Management Shell:      Get-Mailbox -Database <old database name>| Restore-Mailbox -RecoveryDatabase <new database name>
0
 
LVL 1

Author Closing Comment

by:ukitsme
ID: 39755768
Thanks for your help
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

A procedure for exporting installed hotfix details of remote computers using powershell
A safe way to clean winsxs folder from your windows server 2008 R2 editions
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

733 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