Discussion Locked

Exchange Server Database

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I want to move my Ms. Exchange Database from the system partition to a larger partition on the same server machine. How can I do this without re-installation of Exchange?

6 replies

by the listed 'g man'

This is for information only - use this at your own risk. I take no responsibility for any outcome (except positive) should you proceed with the below:

1. stop Information Store Service, then copy priv1, pub1.edb and priv1, pub1.stm to a safe location.

2. rename \mdbdata to \mdbdataold, create new blank \mdbdata directory. If you have other \mdbdata directories spread over other drives, make sure there are no files in them. Start IS Service, go to ESM, right click Mailbox and Public Stores and select "mount," which will mount blank Stores. Then move them:

a. to move log path, right click Storage Group-->Properties--> Browse on Transaction Log Files and System Path Location and move them to d:\exchsrvr\mdbdata

b. to move databases, right click Mailbox and Public Folder Stores--> Properties-->Database-->Browse on Exchange Databases and Exchange Streaming Database and move them to d:\exchsrvr\mdbdata

After moving blank databases to D, you can stop IS Service, thereby dismounting blank Stores, then remove ALL files from ALL \mdbdata directories and move/copy your production databases to D, priv1, pub1.edb, priv1, pub1.stm to d:\exchsrvr\mdbdata. Those should be the only files in \mdbdata. Then start IS Service, Stores should mount.

To prevent mail from going into blank databases while your moving, stop SMTP Service. Do it during off hrs, try to kick everyone off server.

This was for information only.

by benalao

I appreciate The G-Man's suggested steps. They look logical and I think it would work.

However, for the purpose of clarity, let's look at step 2(a) and 2(b) again. Prior to moving the log file path and the database path, I guessed I would have manually created the "D:\exchsrvr\mdbdata" folder, would I?

by dumphrey

Also, double check that you have taken the database offline before you stop the information store service (better paranoid then corrupt db).. Its good policy to assume that folders will not be created after initial install. Also, logs and database can and should be on separate drives if possible. So you may want to think about only moving the mail db and public store db, and leaving the logs on the system drive.

by benalao

Thanks to you all. I have successfully moved the Databases to a different location.

by sandi_p14

hi..
if u want to move the databse on same server hard drive..this kb is very imp kb-822676
...u have to install suppor tools for windows server ,before making any changes in adsiedit, make sure that you have taken the system state backup,so in case if u mess up then u can restore the backup

This discussion is closed to new replies.