Manually Move the Exchange Database
For Exchange 2000 and 2003 the mail store is found in
the folders
For Exchange 2007 the mail database is found in the folders
For Exchange 2010 the mail database is found in the folders
If are unable to mount the Exchange database, you can re-copy the Exchange database yourself.
Exchange 2010
To manually copy the Exchange mail database use the following procedure:
- Stop all Exchange services.
- Open an administrative console.
- Type cd /d "C:\Program Files\Microsoft\Exchange Server\v14\Mailbox"
- Type DIR to view the list of folders.
- Type RENAME "Mailbox Database nnnnnn" "OLD Mailbox Data", where nnnnnnn is the number displayed in step 4.
- Type
XCOPY "C:\StagingFolder\C\Program Files\Microsoft\Exchange Server\↵
V14\Mailbox\Mailbox Database nnnnnn"↵
"Mailbox Database nnnnnn" /S /E /H /K /I /O /V - If you elected to install the Outlook 2003 public folder, you need to copy the public folder database. Type RENAME "Public Folder Database nnnnnn" "OLD Public Folder Database", where nnnnnn is the number displayed in step 4.
- Type
XCOPY "C:\StagingFolder\C\Program Files\Microsoft\Exchange Server\↵
V14\Mailbox\Public Folder Database nnnnnn"↵
"Public Folder Database nnnnnn" /S /E /H /K /I /O /V - Restart the Exchange services (or reboot).
Exchange 2007
To manually copy the Exchange mail database use the following procedure:
- Stop all Exchange services.
- Open an administrative console.
- Type cd /d "C:\Program Files\Microsoft\Exchange Server\Mailbox"
- Type RENAME "First Storage Group" "OLD First Storage Group"
- Type
XCOPY "C:\StagingFolder\C\Program Files\Microsoft\Exchange Server\↵ "First Storage Group" /S /E /H /K /I /O /V
Mailbox\First Storage Group" - Type RENAME "Second Storage Group" "OLD Second Storage Group"
- Type
XCOPY "C:\StagingFolder\C\Program Files\Microsoft\Exchange Server\↵ "Second Storage Group" /S /E /H /K /I /O /V
Mailbox\Second Storage Group" - Restart the Exchange services (or reboot).
Exchange 2000 and 2003
To manually copy the Exchange mail store use the following procedure:
- Stop all Exchange services.
- Open an administrative console.
- Type cd /d "C:\Program Files\Exchsrvr"
- Type RENAME MDBDATA MDBDATA_OLD
- Type XCOPY
"C:\StagingFolder\C?\Program Files\Exchsrvr\MDBDATA"↵
MDBDATA /S /E /H /K /I /O /V - Type RENAME srsdata srsdata_old
- Type XCOPY
"C:\StagingFolder\C?\Program Files\Exchsrvr\srsdata"↵
srsdata /S /E /H /K /I /O /V - Restart the Exchange services (or reboot).
(If you moved the Exchange databases or the log files to alternate folders, use the procedure shown above with the alternate folder names.)
This procedure mimics the steps taken by UMove to copy the Exchange database.
When to manually move the database
A manual copy may be required if you are having problems accessing the mail store. The problems are typically due to running Exchange before installing the correct service pack, causing Exchange to write to the database with an older version of the software that is not compatible with the newer database format. The workaround is to manually re-copy the mail store database after applying the service pack.
| UMove for Active Directory |
