Export and Import Exchange 2007 Configuration

neamuser
neamuser used Ask the Experts™
on
Hello,

is there a possability to export the Exchange 2007 configuration? I would like to save the Configuration (CAS, Edge Transport, Mailbox, Hub Transport), reinstall the Operating System and after that import the configuration. I Have a Backup of my Data, but i don't see a possability to save the Configuration of the Exchange Server.

Many thanks

Frank
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Expert of the Quarter 2009
Expert of the Year 2009

Commented:
The configuration of Exchange is stored in the domain. You don't save the config of Exchange on its own.
Do you have separate domain controllers? If so then you could backup the database using an Exchange aware backup application, then wipe the machine (with Exchange still installed). Reset the computer account and then install Windows and add to the domain with the same name. Then install Exchange with the recoverserver switch from the command line. Once complete, restore the database and you should be close to the point of "failure".
However I would strongly suggest you read up on DR in Technet and only do that if there is no other option of doing a controlled swing migration using a second machine.

Simon.
Well all you can do is run series of Get commands and export those into the text like.

get-owavirtualdirectory | fl
get-transportconfig | fl
get-outlookanywhere | fl
get-outlookprovider | fl
get-exchangecertificate | fl

Author

Commented:
@mestha
 hi, thank you for your reply, i would like to migrate the operating system from Windows Server 2003 to Windows Server 2008, i have read the MS technet article and technet says i can't use the recoverserver switch in the setup.

@XCHExpert
 hi, thank you for your reply, can i also import the configuration?
Success in ‘20 With a Profitable Pricing Strategy

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Expert of the Quarter 2009
Expert of the Year 2009

Commented:
While you can export the configuration as per the commands above, that isn't really the same, as Exchange is an AD integrated application. Everything is stored in the domain.

Basically you either have to
a. Do a DR install as I have outlined.
b. Remove Exchange completely from the domain - and I mean every trace, then rebuild the Exchange server and recreate all users, groups, permissions etc.

It is not as simple as dumping out a few lines from Powershell, Exchange is a very complex application.

The only supported migration path from Windows 2003 to Windows 2008 is a swing migration.

What Technet article is telling you that you cannot use the recoverserver switch?

Simon.
Import is not possible as this is just for reference and you have to do manually configure those settings if they defer.

What Mestha says is right ....you can refer below article to recover server
http://www.msexchange.org/tutorials/Recovering-Exchange-2007-Server-RecoverServer-switch.html

Author

Commented:
hi mestha,

the technet article is #296562. I have to install Windows 2008 server and then i have to install exchange 2007, then configure exchange, then restore the backup. I have no available seconad machine to do a swing migration :-(

Frank
Expert of the Quarter 2009
Expert of the Year 2009

Commented:
Why move at all?
There is very little to be gained from with regards to Exchange 2007 on Windows 2008 compared to Windows 2003.

You will need to provide a full link to the Technet article, rather than just the number.

Simon.

Author

Commented:
the technet article says that there is no support for a in-place migration
http://technet.microsoft.com/de-de/library/cc296562.aspx
Expert of the Quarter 2009
Expert of the Year 2009

Commented:
That is correct.
However that isn't what I was proposing to do.
An in place migration is where you install Windows 2008 on top of Windows 2003.
I suggested that you wipe the machine and then use the recoverserver switch to reinstall Exchange.

However as Microsoft have provided a solution for the migration, rather than my hack job, I would suggest that you follow their guide carefully.

For English readers the link is http://technet.microsoft.com/en-us/library/cc296562.aspx

Simon.

Author

Commented:
Following the article is the plan :-)
but the question is, can i save my running config and import the config to the new exchange installation?
the article says there is a script for exporting and importing CAS settings, but i don't find any scripts for the other rolles.
Expert of the Quarter 2009
Expert of the Year 2009
Commented:
You don't need a script for anything else, because there is very little to be configured. Hub transport requires very few changes from the default, other than what is on the connectors.
The mailbox role isn't really suitable for scripting because it mainly consists of the location of the databases.

Simon.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial