How to Move Exchange Database Files Between Folders on the Same Drive

 

This topic explains how to move Microsoft® Exchange database files between folders on the same drive. For more information, see How to Swap Databases Between the Recovery Storage Group and the Original Storage Group.

Procedure

How to move Exchange database files between folders on the same drive

  1. Notify users of an impending service outage.

  2. In Exchange System Manager, disconnect the relevant databases in both the original storage group and the recovery storage group.

  3. At a command prompt, verify that both databases are in Clean Shutdown state with the command Eseutil /mh [database filename].edb.

  4. In Windows File Manager, create temporary folders for each database, such as \ToOriginal and \ToRSG.

  5. Move the database files (.edb and .stm) from the original storage group folder to the \ToRSG folder and move the database files from the recovery storage group into the \ToOriginal folder. You should move the databases, not copy them, to accomplish the move quickly.

  6. Rename the files in each folder, if necessary, to match the names defined in Exchange System Manager for each database.

  7. Place the files in their respective storage group folders.

  8. In Exchange System Manager, for each database, open the Properties dialog box and, on the Database tab, select the check box labeled This database can be overwritten by a restore.

  9. Mount the databases.