[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 845
  • Last Modified:

How to restore .edb files from failed server

Hi there, i have a failed sbs 2003 server. The data drive was still intact so i managed to get the data off as no one had done a backup. I have the exchsrvr directory with the .edb and .stm files in it. I have rebuilt a new server as close as i can get to the old one. How do i get the email back from the .edb files into the new exchange enviroment?
0
grovenetsupport
Asked:
grovenetsupport
  • 5
  • 3
1 Solution
 
Pete LongConsultantCommented:
Hello grovenetsupport,


1.      Move all remaining databases and logs to another location.
2.      Look in the exchange system manager and TAKE note of where all the databases, streaming files and log files should be.
3.      Restore the Exchange Information Store, by copying the originals back from your failed hardware.
4.      There should now be a priv1.edb file and a pub1.edb file in the right location.
5.      Create the matching STM files with the following commands (change the paths accordingly)

Note: doing this on a large database (Like Priv1.edb can take several hours and it may appear to have hung, be patient)

C:\Program Files\exchsrvr\BIN>eseutil /p /CREATESTM f:\exchsrvr\priv1.edb
C:\Program Files\exchsrvr\BIN>eseutil /p /CREATESTM f:\exchsrvr\pub1.edb

6.      Now issue the following commands (they complete quickly)

eseutil /mh f:\exchsrvr\priv1.edb
eseutil /mh f:\exchsrvr\priv1.stm
eseutil /mh f:\exchsrvr\pub1.edb
eseutil /mh f:\exchsrvr\pub1.stm


7.      Download and Run http://support.microsoft.com/KB/930241

8.      Mount the information Stores.

9.      Reboot

Regards,

PeteLong
0
 
grovenetsupportAuthor Commented:
Thanks for this going to try this now but can i ask, do i have to dismount the stores first and stop any exchange services?
0
 
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
Another methdology:
http://blog.mpecsinc.ca/2008/07/sbs-exchange-information-store-is.html
Tie the above into:
http://support.microsoft.com/kb/824126
for another method using ExMerge.

Your store may mount, but since you have recreated everything, your user's SIDs are different so you may need to manually reconnect the mailboxes to each user.

Philip
0
Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

 
grovenetsupportAuthor Commented:
Ok will have your babies for getting me this far and i have got all the mailboxes back but i cant view any of the emails. They are showing in the inbox etc but i cant open any or view anything int he reading pane?
0
 
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
Not sure who that is directed at! :)

From:
http://support.microsoft.com/kb/274343

To Reconnect (or Recover) a Deleted Mailbox
1. In Exchange System Manager, locate the mailbox store that contains the disconnected mailbox.
2. Click the Mailboxes object under the mailbox store.
3. If the mailbox is not already marked as disconnected (the mailbox icon appears with a red X), right-click the Mailboxes object, and then click Cleanup Agent.
4. Right-click the disconnected mailbox, click Reconnect, and then select the appropriate user from the dialog box that appears.
5. Click OK.

Philip
0
 
grovenetsupportAuthor Commented:
Sorry was not very clear. I have completed that stage and all mail is there but i cant open any of it. The mailbox sizes and message are as they were before but the mail wont open in the reading pane or if you double click it??????????
0
 
grovenetsupportAuthor Commented:
After further checks we are unable to open any external e-mail that has been restored. All internal e-mail opens as normal and any new external e-mail received this morning also opens fine.

Error "Can't open this item" The operation failed.
0
 
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
Check permissions on the mailboxes to make sure the appropriate users have full access to them. Use another SBS box if need be to reference the default permission configuration for a user and their mailbox.
Philip
0
 
grovenetsupportAuthor Commented:
The fault was restoring just the pub and priv.edb files and not the stm files. Doing this only left links and not emails. We have used the stm files from the old server and rebuilt the exchange again and all works ok now
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now