Solved

How to restore/merge Exchange data

Posted on 2009-03-30
6
793 Views
Last Modified: 2012-05-06
Hi,

I have recently rebuilt my Windows Server 2003 SBS from scratch and now I need to restore my Exchange data (from the files I recovered from the failed disk).

As part of the rebuild I now have Exchange up and running, so I need to merge the current mailboxes from the recovered files with the current mailboxes.

I have read a few Microsoft documents about this but have managed to confuse myself regarding the process.

The files I have are:

E00.log
E00tmp.log
E000016B.log
E000016C.log
priv1.edb
priv1.stm
pub1.edb
pub1.stm
res1.log
res2.log

I have tried creating a Recovery Storage Group but didn't manage to link it to my recovered data.

Also am I correct in saying that I need to process the .log files prior to doing this?

I have performed the following on my files:

eseutil /mh <filename> | find /i "Shutdown"

and they all show "State: Dirty Shutdown"

How do I proceed from here?  Looking at the document it says:

"Mount and then dismount the database again. If the files still do not match correctly or are inconsistent, contact Microsoft Product Support Services (PSS) for further assistance."

What's the proceedure to do this mount?

I have also tested my transaction logs using:

eseutil /ml <filename>

and they are all OK (Integrity check passed...).

Also I've noticed I don't have any ".chk" files, is this a problem?

What I need (please) is a clear list of steps to enable me to perform the merge.

Cheers Ian
0
Comment
Question by:idheath
  • 3
  • 3
6 Comments
 
LVL 15

Expert Comment

by:abhaigh
ID: 24017715
What are you using for your backups?

depending on the BU solution you are using, Exchange should route the recovered info store into the RSG automatically.

once you do haver the files in the right place, you need to run eseutil /r against the .edb file to bring it back to a consistent state (you might have to run eseutil /p - /r sometimes doesn't work)

once the info store is in a consistent state you will be able to mount it in the rsg

then you can run exmerge against the recovered info store to extract the data and then push it into the live info store on the same machine
0
 
LVL 1

Author Comment

by:idheath
ID: 24018402
I have a backup from Windows Backup also I have the raw files (as listed in my post).
0
 
LVL 1

Author Comment

by:idheath
ID: 24018415
I should mention that I was hoping to use the raw files (and not the backup) since they are the most recent.
So i'd appreciate guidance on that option if possible.
Thanks
0
Does Powershell have you tied up in knots?

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

 
LVL 15

Expert Comment

by:abhaigh
ID: 24018592
change the path to the info store you've defined in your RSG to point to the recovered priv.edb and priv.stm files

eseutil /r (or /p if /r fails)  priv.edb

mount the store

exmerge out of recovered store and into live store
0
 
LVL 1

Author Comment

by:idheath
ID: 24023328
Hi,
Thanks for the information but I'd appreciate it if you'd be more specific (I'm very new to Exchange).
I have managed this so far.
eseutil /r priv1.edb which gives an error "Invalid API parameter"
I also tried this...
Opened Exchange System Manager, Created a Recovery Storage Group (I set the Transaction Log & System Path to an empty directory)....not sure if this was right?
Then I selected the new RSG and chose "Add Database to Recover" which gave me one option (my Mailbox Store).
So now I'm lost / confused.
Any help appreciated.
Cheers Ian
0
 
LVL 15

Accepted Solution

by:
abhaigh earned 500 total points
ID: 24023744
This will help with the restore and help you understand what you are doing

http://support.microsoft.com/kb/296788/EN-US/#XSLTH4179121123120121120120

and the RSG does that, don't worry about it - just go into the properties for the store in the rsg and on the database tab, point it at your files

as for the error you are getting when you run eseutil - what is the exact error you are getting?
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
In this video we show how to create a User 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 >> Mailb…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

809 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