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


E2003 restoring .. different server.

Posted on 2006-04-15
Medium Priority
Last Modified: 2012-06-21

I think I might be asking for the impossible.  I don't know.  I hope someone can enlighten me.

Let's say I've got "Server A" in "Forest A", which runs Exchange 2003.

I make an online backup of the Exchange stuff; priv, pub, etc..

I've got a test lab, with "Server B" in "Forest B".. and I want to restore into it.  

Can I do this?  

If I can, how do I do so?  

thanks vm,
-- Scott.
Question by:scdavis
  • 5
  • 4
LVL 12

Expert Comment

ID: 16459899
Yes, the forest naming scheme is not directly related to Exchange server, but all the rest is. The main issue here is that the Exchange Organization name, administrative group, storage group, mailbox store, server name, and LegacyDN must be named *exactly* the same as the server where you got the backup from.

What backup software are you using?

Here is a good article from Veritas Backup Exec:

This article also links to various MS knowledgebase articles, and I've used the first one (legacydn.exe) in various disaster recovery scenario's. This works best if you have an offline copy of the Information Store files you wish to mount on a different server. Restoring an online mailbox backup has a lot of requirements.

How to use Legacydn.exe to correct Exchange organization names or Administrative Group names in Exchange Server 2003 or in Exchange 2000 Server

Support WebCast: Microsoft Exchange 2000 Alternate Server Data Recovery

XADM: "Event ID 1088" Is Logged and Store Fails to Mount

How to change the legacyExchangeDN attribute in native mode with ADSI Edit

Author Comment

ID: 16460001

I'm just using NTBackup.  It's featureless, but reliable, I've found..

So, in order to restore from an online backup, I have to have:

1) Same Exchange Org name
2) Same admin group name
3) Same storage group name
4) Same mailbox store name
5) Same server name (I assume that's FQDN, not just netbios)
6) Same LegacyDN value

I'm freaking out.  Is Microsoft on crack?  That's a huge list of requirements.  

You indicate that restoring from an offline backup may not be subject to all of the conditions above.  Can you let me know what the requirements for restoring from offline files are..?  

I'd rather not guess-and-check that all, as each O/S install in the test lab takes several hours, eh?  

Thanks VM for your response!

-- Scott.

LVL 12

Accepted Solution

Rant32 earned 2000 total points
ID: 16460116
Hi Scott,

The requirements above are for restoring an online backup. I think NTBackup checks all of them, but I'm not sure; I don't use NTbackup.
The requirements for *mounting* an information store is just that the LegacyDN in AD must match the LegacyDN stored in the Information Store files.

My experience is this:

- New Exchange server in a different forest, organization, server name, everything. It's very important that servers are running the same Service Packs for Windows and Exchange server and store.exe has the same build.
- Existing (empty) information store with one mailbox store and one PF store.
- You have a plain, consistent copy (clean shutdown) of the database files and transaction logs.
- Replace the existing database files and logs completely with your copy
- If you try to mount the stores, then the -1018 error occurs.
- Solve the -1018 error using LegacyDN.exe - you need to enter the same info as server where the copy is from
- If the database files are consistent then the stores will mount in a completely different environment.

I'm doing this off the top of my head, but you can try this safely. If it doesn't work, I'll try to crack this one using VMware but I'll need more info on your setup (software involved, SP levels, number of databases, etc). I suggest you try it yourself, first, because eventually you'll need to understand what's going on in ESE.
Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.


Author Comment

ID: 16460180

At this point -- all I am trying to achieve is mounting a "restored" infostore.  That'd be a good first step for me.

I'm re-installing my testlab machine with the exact same FQDN, org name, etc.. as my production machine, to see if I can do a restore from an "online" backup.

So, if the only requirement is the LegacyDN value for mounting a copied (offline backedup) db, chances are I can pull that off.

I have a couple of clarification questions:

1)  You say that "the same" builds must be used.  Have you attempted to mount using newer builds?  i.e.  a priv.edb from SP1, can't be mounted under an SP2 installation..?  

2)  By "empty" infostore, do you mean no infostore, i.e. the /disasterrecovery switch..?  What if there's a mailbox in there, do you mean the restore from online backup won't work?  I think I'm not comprehending you re: this issue.

Thanks, Rant.

Thank you, very much.

Assuming I am considering this all for like say, a dozen SBS installs, what do you think about using the EXMERGE backup strategy instead of "native" Exchange backups..?  Seems to me like recovery of Exchange from SBS installs, from online backups, is nearly impossible..

-- Scott!
LVL 12

Expert Comment

ID: 16460241
Restoring a System state backup might give the same results as re-installing the OS and domain.

1) Maybe a newer version does work, but I recommend to use the same SP levels.
2) By 'empty' I mean the default EDB/STM files that are 2,5 MB in size. Empty, as in no data other than the DB structures. Doesn't matter, you will replace them anyway. But you need the Storage group and the stores defined, and that creates empty database files.

The tactics I mentioned above were actually for a Windows 2000 SBS.

Just let me know how you get on, and we'll go from there.

Author Comment

ID: 16460330

For the purposes of this exercise, I'm not going to restore system state.  I've found that installing storage (RAID) controller drivers post-system-state-restore is a real challenge.  For small shops, it's best for me to assume I'll be restoring into hardware that's not the same as the existing ..  eh?

Thanks for the clarification.  My re-install of my testlab box is about 605 done -- I should be able to post more results around 11am, EST.

-- Scott.


Author Comment

ID: 16460453
Jimminy Crickets,

Looks like the restore from online media just might work -- when I follow the 6 steps, above.

I'm now starting my patching run.  Another hour, roughly, and then I can try the restore..

LVL 12

Expert Comment

ID: 16460638
I'm CEST (GMT+1) here and we have visitors for the Easter holidays so I won't be around for a while. I'll be back.

Author Comment

ID: 16513936

I took a week.

Sorry for the delay -- I'm back at it again.  

Guess I should assign some points..  hang on!

-- S.

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  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

The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
In this video we show how to create an email address policy 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 Mail Flow…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

831 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