• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 852
  • 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?
  • 5
  • 3
1 Solution
Pete LongTechnical ConsultantCommented:
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


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?
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
Another methdology:
Tie the above into:
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.

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

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?
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
Not sure who that is directed at! :)


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.

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??????????
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.
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.
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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