How to Run Eseutil /R (Recovery)

Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

 

Applies to: Exchange Server 2007, Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3

Recovery refers to the process of playing transaction log files into a database. There are two kinds of recovery: hard and soft. Hard recovery can be done with Exchange Server Database Utilities (Eseutil.exe) by using the restore mode (/C). For more information about Eseutil recovery, see Eseutil /R Recovery Mode.

Before You Begin

Before performing the following procedure, make sure that you log on by using an account that is delegated membership in the Local Administrators group on the computer that you are running the recovery operation.

Procedure

To perform a soft recovery using Eseutil /R

  • To perform a soft recovery, type the following basic syntax at a command prompt and press ENTER:

    Eseutil /R Enn
    

    For example:

    Eseutil /R E00
    

    Note

    The Enn specifies the log file prefix of the transaction logs that you intend to play into the database. This command will work only when run from the folder in which the transaction log files exist, and only when the databases to be recovered are in their original path locations. The log file prefix is a required parameter for Eseutil /R.

  • If you want to run a soft recovery from outside the transaction logs folder, run the following command:

    Eseutil /R E00 /Lpath_to_logfiles
    

    For example:

    Eseutil /R E00 /Ld:\exchsrvr\logfiles
    

    Note

    The path_to_logfiles specifies the path of the transaction logs folder.

  • If you want to control the use of the checkpoint file during recovery, add this switch to the recovery command:

    /Spath_to_or_away_from_current_checkpoint
    

    For example:

    Eseutil /R E00 /Sd:\
    

    Note

    The path_to_or_away_from_current_checkpoint specifies the path of the checkpoint file.

  • If you want to recover the database while playing the transaction log files to an offline database, run the following command:

    Eseutil /R Enn /I /D
    

    For example:

    Eseutil /R E00 /I /D
    

    Note

    To prepare to do this, you should move the database file and all transaction logs that you intend to play into a single temporary folder. From this folder, you can run the command.

  • If you want to recover the database with missing log files where the missing logs were in the Lost Log Resilience (LLR) range, run the following command:

    ESEUTIL /R Enn /A /8

    Note

    In the syntax above, /8 specifies the database page size.

For More Information

You can see the complete command-line reference and syntax for Eseutil /R by typing eseutil /? at a command prompt, and then by selecting R for recovery mode.

For more information about Eseutil, see the following topics: