What a way to start the first day of spring (at least it’s the start of spring in South Africa) by having our exchange server not receive any email. At first we went through the default possible causes: Check that the mail store is up and running, check that the mailbox dbs are mounted, check that our external spam manager is up and available…but to no avail. It was DRIVE SPACE. We ran out of drive space… 😐

Okay so how do you move an edb and log file to a new location?

Automatically:

  1. Open Exchange Management Console
  2. In the console tree, navigate to Organization Configuration > Mailbox.
  3. In the result pane, on the Database Management tab, select the database you want to configure.
  4. In the work pane, click Move Database Path.
  5. In the Move Database Path wizard, under Database paths, click Move to move the database path to the default location. You can change the location for the database file path by editing the Database file path field. You can change the location for the log folder path by editing the Log folder path text field.
  6. View the status of the move operation. The wizard moves the database file path and the log folder path to the new location. Click Back to make configuration changes.
  7. On the Completion page, confirm whether the move process completed successfully. A status of Completed indicates that the wizard completed the task successfully. A status of Failed indicates that the task wasn’t completed. If the task fails, review the summary for an explanation, and then click Back to make any configuration changes.
  8. Click Finish to complete the Move Database Path wizard.

OR:

You got to use the Exchange Management Shell to move the database path and log folder path in Exchange 2013

You will be using Move-Databasepath Cmdlet

Move-Databasepath “DatabaseName” –EdbFilepath “C:\Newlocation\DBname.edb” –LogFolderpath “C:\Newlocation”

Manually:

  1. Dismount the mailbox database (*.edb)
  2. Manually copy the .edb and log file to the target location (Example: C:\Newlocation\)
  3. You got to use the Exchange Management Shell to move the database path and log folder path:
    Move-Databasepath “DatabaseName” –EdbFilepath “C:\Newlocation\DBname.edb” –LogFolderpath “C:\Newlocation” –configurationonly
  4. Open the Microsoft Management Console and mount the database
  5. Make sure that there will be no more issues before deleting the old database

Hope this helps. 🙂

References:
http://careexchange.in/how-to-move-database-path-and-log-folder-path-in-exchange-2013/
http://mistech.com/how-to-move-exchange-2010-mailbox-database-to-another-drivepartition/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s