Go Premium for a chance to win a PS4. Enter to Win

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

REcover Exchange 2007 on Server 2008 from copy

I have exchange 2007.   The drive where the store was kept got completely formatted by accident.  I have used a restore utility and have gotten back all the exchange logs and databases.   I don't want to yet use this original drive incase I have other stuff to recover and want to put exchange somewhere else.  I can copy to a new location the exchange database, public database and log files.  How do I get exchange 2007 to recognize this new location and mount the databases?
0
techbnjcomp
Asked:
techbnjcomp
  • 2
  • 2
1 Solution
 
vibhav_ramanCommented:
First of all make sure that the exchange database is in a clean shutdown (healthy state) by running the command :
c:\>eseutil /mh "name and location of edb file"

After that is confirmed to change the location of the edb file and the logs:

1.Start the Exchange Management Console on the server that contains the database.

In the console tree, expand Server Configuration, and then click Mailbox.

 In the result pane, click the Mailbox server that contains the database for which you want to change the database file location.

 In the work pane, click the desired database.

In the action pane, click Move Database Path. The Move Database Path wizard appears.

On the Introduction page, the Database file path box displays the location where your database file is currently stored. Click Browse to select a new location for the database file.

Click Move. A warning appears indicating that the database must be temporarily dismounted, which will make it inaccessible to any user. To continue, click Yes.

On the Completion page, confirm whether the database files were moved successfully. A status of Completed indicates that the wizard completed the task successfully. A status of Failed indicates that the task was not completed. If the task fails, review the summary for an explanation, and then click Back to make any configuration changes. Click Finish to complete the Move Database Path wizard.
0
 
techbnjcompAuthor Commented:
That sort of helps but that is what I "started" to do but it seemed like if I used the move database path wizard it was trying to move database itself.  Also I did try it and got an error about existing.  Second part is as I suspected the database is not "clean" as the drive was formatted without a proper shutdown.  I ran above command and it list it as "dirty".   How do I make it clean and should I do the move database anyway after it is clean?
0
 
techbnjcompAuthor Commented:
Also after reading above I again have to state I don't have the original databases to move.  I put the restored files in a different place.
0
 
vibhav_ramanCommented:
ok, if you do not have the original database, please go the adsiedit.

Change the attribute
MSEXCHLogfilePath on the storage group for (Log files location)
MSEXCHEDB file on the mail box store for (.EDB files)


After this is done, you need to repair the database

http://msexchangeguru.com/2011/03/02/databse-repair/

This should resolve your issue for sure
0

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.

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