Mozzie Solutions Limited

How to restore Microsoft Exchange Server

Please follow the instructions below to restore Microsoft Exchange Server 2000 / 2003 / 2007 from Mozzie Offsite Backup Server .

  1. Prepare the system for your Exchange Server (if required)

    Install the original version of Windows and Exchange Server (with the same level of service pack installed as in the original system) back to your computer



  2. Restore Windows Active Directory (if required)

    If you have re-installed Windows, please download the Windows System State backup file, named [SystemState.bkf], from Mozzie Offsite Backup Server  and then use [NTBackup.exe] to restore your Windows System State to its backup time from the backup file by following the instructions below:
    1. Run [NTBackup.exe] from [Start] -> [Run]
    2. Press the [Restore Wizard] button and then press the [Next] button
    3. Press the [Import] button and use the [Browse] button to select the backup file [SystemState.bkf] downloaded
    4. Select the checkbox next to the description that matches your backup file
    5. Press the [Next] button and then the [Finish] button
    6. Install Mozzie Backup (if required)

      Please refer to the [Installation] section for information on how to install Mozzie Backup onto your computer.
    7. Startup the [Microsoft Information Store] services from Windows Services
    8. Restore exchange database(s) from backup:
    9. Download the database backup files to be restored from the Mozzie Offsite Backup Server  (or find the cached copy available in the temporary directory defined in your backup set) and save them to your hard disk (please make sure the directory structure is the same as it appears on the browser), namely:

->[C:]
-->[backup]
---->[ABC]
------>[Microsoft Information Store]
-------->[First Storage Group]
---------->[Mailbox Store(ABC)]
--------------->Priv1.edb
--------------->Priv1.stm
---------->[Public Folder Store(ABC)]
--------------->Pub1.edb
--------------->Pub1.stm

---------->E0000001.log

  1. If the database to be restored exists on your computer already, please dismount it from the services using [Start] -> [Program] -> [Microsoft Exchange] -> [System Manager]
  2. Use [ExchangeRestore.exe] (use [ExRestore2k7.exe] for MS Exchange 2007) from the [bin] directory under the installation directory of Mozzie Backup (e.g. C:\Program Files\Mozzie Backup\bin\ExchangeRestore.exe) to restore the exchange database(s).

    Simply run [ExchangeRestore.exe] to print the usage

ExchangeRestore.exe Usage:

C:\Program Files\Mozzie Backup\bin> ExchangeRestore.exe

 

Microsoft Exchange Server 2000/2003 Backup Recovery Utility

 

Usage:

ExchangeRestore DIR=path SERVER=server TEMP=tempDir [SERVICE=service [STORAGE=st

orage [DATABASE=database]]]

 

DIR               Directory containing all backup files

SERVER  Name of Exchange Server to be restored

TEMP              Temporary directory to be used during restore

Please specific a path with plenty of free space

SERVICE   Name of Exchange Service to be restored. It must be either

"Microsoft Information Store", "Microsoft Key Management Service"

or "Microsoft Site Replication Service"

STORAGE   Name of storage group to be restored

DATABASE  Name of database to be restored

 

Examples:

1. To restore an exchange server:

ExchangeRestore DIR="C:\Backup" SERVER="ExchangeServer" TEMP="C:\Temp"

 

2. To restore the information store:

ExchangeRestore DIR="C:\Backup" SERVER="ExchangeServer" TEMP="C:\Temp"

SERVICE="Microsoft Information Store"

 

3. To restore an exchange storage group:

ExchangeRestore DIR="C:\Backup" SERVER="ExchangeServer" TEMP="C:\Temp"

SERVICE="Microsoft Information Store" STORAGE="StorageGroup1"

 

4. To restore an exchange database:

ExchangeRestore DIR="C:\Backup" SERVER="ExchangeServer" TEMP="C:\Temp"

SERVICE="Microsoft Information Store" STORAGE="StorageGroup1"

DATABASE="Database1"

where

"C:\Backup"      is the directory containing all backup files

"ExchangeServer"   is the server name of an exchange server

"C:\Temp"                  is the temporary directory to be used

"StorageGroup1"            is the name of a storage group

"Database1"                is the name of a database

 

  1. (Example 1) To restore all databases from backup available in [F:\Backup] to an exchange server named [WIN2000SVR] using the temporary directory [F:\Temp], you can use this command:

    E:\Program Files\Mozzie Backup\bin> ExchangeRestore DIR="F:\Backup" TEMP="F:\Temp" SERVER="WIN2000SVR"

Exchange Server Recovery Example:

 

E:\Program Files\Mozzie Backup\bin> ExchangeRestore DIR="F:\Backup" TEMP="F:\Temp" SERVER="WIN2000SVR"

 

Microsoft Exchange Server 2000/2003 Backup Recovery Utility

 

[Start] Exchange Server - 'WIN2000SVR'

[Start] Service - 'Microsoft Information Store'

[Start] Storage Group - 'First Storage Group'

[Start] Database - 'Mailbox Store (WIN2000SVR)'

Restoring file 'E:\Program Files\Exchsrvr\mdbdata\priv1.edb' ...

Restoring file 'E:\Program Files\Exchsrvr\mdbdata\priv1.stm' ...

[End] Database - 'Mailbox Store (WIN2000SVR)'

[Start] Database - 'Public Folder Store (WIN2000SVR)'

Restoring file 'E:\Program Files\Exchsrvr\mdbdata\pub1.edb' ...

Restoring file 'E:\Program Files\Exchsrvr\mdbdata\pub1.stm' ...

[End] Database - 'Public Folder Store (WIN2000SVR)'

[Start] Restoring transaction log - 'First Storage Group'

Restoring Log File 'F:\Temp\restore.tmp\First Storage Group\E00000B3.log' ...

Restoring Log File 'F:\Temp\restore.tmp\First Storage Group\E00000B4.log' ...

[End] Restoring transaction log - 'First Storage Group'

[Start] Applying transaction log ...

[End] Applying transaction log

[End] Storage Group - 'First Storage Group'

……………

[Start] Storage Group - 'SG2'

[Start] Database - 'acct'

Restoring file 'E:\Program Files\Exchsrvr\SG2\acct.edb' ...

Restoring file 'E:\Program Files\Exchsrvr\SG2\acct.stm' ...

[End] Database - 'acct'

[Start] Restoring transaction log - 'SG2'

Restoring Log File 'F:\Temp\restore.tmp\SG2\E0100072.log' ...

Restoring Log File 'F:\Temp\restore.tmp\SG2\E0100073.log' ...

[End] Restoring transaction log - 'SG2'

[Start] Applying transaction log ...

[End] Applying transaction log

[End] Storage Group - 'SG2'

[End] Exchange Server - 'WIN2000SVR'

 

E:\Program Files\Mozzie Backup\bin>

 

  1. (Example 2) To restore the database named [mail] in storage group [SG5] from backup available in [F:\Backup] to an exchange server named [WIN2000SVR] using the temporary directory [F:\Temp], you can use this command:

    E:\Program Files\Mozzie Backup\bin> ExchangeRestore DIR="F:\Backup" TEMP="F:\Temp" SERVER="WIN2000SVR" SERVICE="Microsoft Information Store" STORAGE="SG5" DATABASE="mail1"

Exchange Server Recovery Example:

 

E:\Program Files\Mozzie Backup\bin> ExchangeRestore DIR="F:\Backup" TEMP="F:\Temp" SERVER="WIN2000SVR" SERVICE="Microsoft Information Store" STORAGE="SG5" DATABASE="mail"

 

Microsoft Exchange Server 2000/2003 Backup Recovery Utility

 

[Start] Storage Group - 'SG5'

[Start] Database - 'mail'

Restoring file 'E:\Program Files\Exchsrvr\SG5\mail.edb' ...

Restoring file 'E:\Program Files\Exchsrvr\SG5\mail.stm' ...

[End] Database - 'mail'

[Start] Restoring transaction log - 'SG5'

Restoring Log File 'F:\Temp\restore.tmp\SG5\E0300012.log' ...

Restoring Log File 'F:\Temp\restore.tmp\SG5\E0300013.log' ...

[End] Restoring transaction log - 'SG5'

[Start] Applying transaction log ...

[End] Applying transaction log

[End] Storage Group - 'SG5'

 

E:\Program Files\Mozzie Backup\bin>

  1. Repeat the same procedure for each database to be restored to the Exchange Server.
  2. You can use [Start] -> [Program] -> [Administrative Tools] -> [Event Viewer] to check if there are any errors generated from the exchange databases restoring activities.
  3. However, if ExchangeRestore.exe still cannot mount the restored files and returns with strange errors, e.g. bad signature, or null errors, the Exchange server might have incorrectly spooled the backup files in the first place. Please try to mount the restored database and log files manually by the following instructions:
  4. In MS Exchange System Manager, dismount both the Mailbox Store and Public Folder Store from the server.
  5. Copy all the restored database files to the MDBDATA folder (By default, the MDBDATA folder is located under C:\Program Files\Excgsrvr\)

Mailbox Store:

-        priv1.edb

-        priv1.stm

Public Folder Store:

-        pub1.edb

-        pub1.stm

  1. Run "eseutil /r" to apply the transaction log files to bring the database to a consistent state, e.g.:

C:\Program Files\Exchsrvr\MDBDATA> ..\bin\eseutil /r e00

The above command will try to bring all the databases handled by the transaction log files starting with “e00” located in “C:\Program Files\Exchsrvr\MDBDATA” into clean shutdown state.

  1. Run "eseutil /p" to repair the database files, e.g.:

C:\Program Files\Exchsrvr\MDBDATA> ..\bin\eseutil /p priv1.edb

C:\Program Files\Exchsrvr\MDBDATA> ..\bin\eseutil /p pub1.edb

 

  1. Mount both Mailbox Store and Public Folder Store to the Server through the MS Exchange System Manager.

 

  1. Completed
 

Sign-Up

Free 15-day trial includes 10GB storage for backing up email, pictures and files
Try online backup for free, no set-up fee, no credit card, to find out how easy online backup is to use

Site Security

Our site uses the same security standards used for online banking
Copyright © 2010 Mozzie Solutions Limited. All Rights Reserved.
Contact Mozzie.co.nz if you would like assistance with your web site .