Microsoft KB Archive/182903: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - "<" to "<")
Line 71: Line 71:


MODES OF OPERATION:
MODES OF OPERATION:
   Defragmentation:  ESEUTIL /d &lt;database name&gt; [options]
   Defragmentation:  ESEUTIL /d <database name&gt; [options]
           Recovery:  ESEUTIL /r [options]
           Recovery:  ESEUTIL /r [options]
         Integrity:  ESEUTIL /g &lt;database name&gt; [options]
         Integrity:  ESEUTIL /g <database name&gt; [options]
           Upgrade:  ESEUTIL /u &lt;database name&gt; /d&lt;previous .DLL&gt; [options]
           Upgrade:  ESEUTIL /u <database name&gt; /d<previous .DLL&gt; [options]
         File Dump:  ESEUTIL /m[mode-modifier] &lt;filename&gt;
         File Dump:  ESEUTIL /m[mode-modifier] <filename&gt;
             Repair:  ESEUTIL /p &lt;database name&gt; [options]
             Repair:  ESEUTIL /p <database name&gt; [options]


   Note log file path must be specified explicitly
   Note log file path must be specified explicitly
   unless using /IS or /DS options.
   unless using /IS or /DS options.


&lt;&lt;&lt;&lt;&lt; Press a key for more help  &gt;&gt;&gt;&gt;&gt;
<<<<< Press a key for more help  &gt;&gt;&gt;&gt;&gt;
D=Defragmentation, R=Recovery, G=Integrity, U=Upgrade, M=File Dump,
D=Defragmentation, R=Recovery, G=Integrity, U=Upgrade, M=File Dump,
P=Repair
P=Repair
Line 90: Line 90:
DEFRAGMENTATION/COMPACTION:
DEFRAGMENTATION/COMPACTION:
  DESCRIPTION:  Performs off-line compaction of a database.
  DESCRIPTION:  Performs off-line compaction of a database.
       SYNTAX:  ESEUTIL /d &lt;database name&gt; [options]
       SYNTAX:  ESEUTIL /d <database name&gt; [options]
   PARAMETERS:  &lt;database name&gt; - filename of database to compact, or one of
   PARAMETERS:  <database name&gt; - filename of database to compact, or one of
                                 /ispriv, /ispub, or /ds (see NOTES below)
                                 /ispriv, /ispub, or /ds (see NOTES below)
     OPTIONS:  zero or more of the following switches, separated by a space:
     OPTIONS:  zero or more of the following switches, separated by a space:
               /l&lt;path&gt; - location of log files (default: current directory)
               /l<path&gt; - location of log files (default: current directory)
               /s&lt;path&gt; - location of system files (e.g., checkpoint file)
               /s<path&gt; - location of system files (e.g., checkpoint file)
                         (default: current directory)
                         (default: current directory)
               /b&lt;db&gt;  - make backup copy under the specified name
               /b<db&gt;  - make backup copy under the specified name
               /t&lt;db&gt;  - set temp. database name (default: TEMPDFRG.EDB)
               /t<db&gt;  - set temp. database name (default: TEMPDFRG.EDB)
               /p      - preserve temporary database (i.e., don't instate)
               /p      - preserve temporary database (i.e., don't instate)
               /o      - suppress logo
               /o      - suppress logo
Line 118: Line 118:
     OPTIONS:  zero or more of the following switches, separated by a space:
     OPTIONS:  zero or more of the following switches, separated by a space:
               /is or /ds - see NOTES below
               /is or /ds - see NOTES below
               /l&lt;path&gt;  - location of log files
               /l<path&gt;  - location of log files
                           (default: current directory)
                           (default: current directory)
               /s&lt;path&gt;  - location of system files (e.g., checkpoint file)
               /s<path&gt;  - location of system files (e.g., checkpoint file)
                           (default: current directory)
                           (default: current directory)
               /o        - suppress logo
               /o        - suppress logo
Line 131: Line 131:
INTEGRITY:
INTEGRITY:
  DESCRIPTION:  Verifies integrity of a database.
  DESCRIPTION:  Verifies integrity of a database.
       SYNTAX:  ESEUTIL /g &lt;database name&gt; [options]
       SYNTAX:  ESEUTIL /g <database name&gt; [options]
   PARAMETERS:  &lt;database name&gt; - filename of database to verify, or one of
   PARAMETERS:  <database name&gt; - filename of database to verify, or one of
                                 /ispriv, /ispub, or /ds (see NOTES below)
                                 /ispriv, /ispub, or /ds (see NOTES below)
     OPTIONS:  zero or more of the following switches, separated by a space:
     OPTIONS:  zero or more of the following switches, separated by a space:
               /t&lt;db&gt;  - set temp. database name (default: INTEG.EDB)
               /t<db&gt;  - set temp. database name (default: INTEG.EDB)
               /v      - verbose
               /v      - verbose
               /x      - give detailed error messages
               /x      - give detailed error messages
Line 152: Line 152:
  DESCRIPTION:  Upgrades a database (created using a previous release of
  DESCRIPTION:  Upgrades a database (created using a previous release of
               Microsoft(R) Exchange Server) to the current version.
               Microsoft(R) Exchange Server) to the current version.
       SYNTAX:  ESEUTIL /u &lt;database name&gt; /d&lt;previous .DLL&gt; [options]
       SYNTAX:  ESEUTIL /u <database name&gt; /d<previous .DLL&gt; [options]
   PARAMETERS:  &lt;database name&gt;  - filename of the database to upgrade.
   PARAMETERS:  <database name&gt;  - filename of the database to upgrade.
               /d&lt;previous .DLL&gt; - pathed filename of the .DLL that came
               /d<previous .DLL&gt; - pathed filename of the .DLL that came
                                   with the release of Microsoft(R) Exchange
                                   with the release of Microsoft(R) Exchange
                                   Server from which you're upgrading.
                                   Server from which you're upgrading.
     OPTIONS:  zero or more of the following switches, separated by a space:
     OPTIONS:  zero or more of the following switches, separated by a space:
               /b&lt;db&gt; - make backup copy under the specified name
               /b<db&gt; - make backup copy under the specified name
               /t&lt;db&gt; - set temporary database name (default: TEMPUPGD.EDB)
               /t<db&gt; - set temporary database name (default: TEMPUPGD.EDB)
               /p    - preserve temporary database (i.e., don't instate)
               /p    - preserve temporary database (i.e., don't instate)
               /o    - suppress logo
               /o    - suppress logo
Line 178: Line 178:
FILE DUMP:
FILE DUMP:
  DESCRIPTION:  Generates formatted output of various database file types.
  DESCRIPTION:  Generates formatted output of various database file types.
       SYNTAX:  ESEUTIL /m[mode-modifier] &lt;filename&gt; [options]
       SYNTAX:  ESEUTIL /m[mode-modifier] <filename&gt; [options]
   PARAMETERS:  [mode-modifier] - an optional letter designating the type of
   PARAMETERS:  [mode-modifier] - an optional letter designating the type of
                                 file dump to perform. Valid values are:
                                 file dump to perform. Valid values are:
                                 h - dump database header (default)
                                 h - dump database header (default)
                                 k - dump checkpoint file
                                 k - dump checkpoint file
               &lt;filename&gt;      - name of file to dump. The type of the
               <filename&gt;      - name of file to dump. The type of the
                               specified file should match the dump type
                               specified file should match the dump type
                               being requested (e.g., if using /mh, then
                               being requested (e.g., if using /mh, then
                               &lt;filename&gt; must be the name of a database).
                               <filename&gt; must be the name of a database).


REPAIR (P)
REPAIR (P)
Line 192: Line 192:
REPAIR:
REPAIR:
  DESCRIPTION:  Repairs a corrupted or damaged database.
  DESCRIPTION:  Repairs a corrupted or damaged database.
       SYNTAX:  ESEUTIL /p &lt;database name&gt; [options]
       SYNTAX:  ESEUTIL /p <database name&gt; [options]
   PARAMETERS:  &lt;database name&gt; - filename of database to compact, or one of
   PARAMETERS:  <database name&gt; - filename of database to compact, or one of
                                 /ispriv, /ispub, or /ds (see NOTES below)
                                 /ispriv, /ispub, or /ds (see NOTES below)
   OPTIONS:  zero or more of the following switches, separated by a space:
   OPTIONS:  zero or more of the following switches, separated by a space:
             /t&lt;db&gt;      - set temp. database name (default: REPAIR.EDB)
             /t<db&gt;      - set temp. database name (default: REPAIR.EDB)
             /d          - don't repair the database, just scan for errors
             /d          - don't repair the database, just scan for errors
             /v          - verbose output
             /v          - verbose output

Revision as of 08:51, 21 July 2020

Knowledge Base


XADM: ESEUTIL Command Line Parameters

Article ID: 182903

Article Last Modified on 10/28/2006



APPLIES TO

  • Microsoft Exchange Server 5.5 Standard Edition



This article was previously published under Q182903


SUMMARY

Microsoft Exchange Server 5.5 includes a utility called Eseutil that replaces the Edbutil from earlier versions.

MORE INFORMATION

The following command will output the information below:

C:\>ESEUTIL /?


Microsoft(R) Exchange Server Database Utilities
Version 5.5
Copyright (C) Microsoft Corporation 1991-1997. All Rights Reserved.

DESCRIPTION: Maintenance utilities for Microsoft(R) Exchange Server
databases.

MODES OF OPERATION:
   Defragmentation:  ESEUTIL /d <database name> [options]
          Recovery:  ESEUTIL /r [options]
         Integrity:  ESEUTIL /g <database name> [options]
           Upgrade:  ESEUTIL /u <database name> /d<previous .DLL> [options]
         File Dump:  ESEUTIL /m[mode-modifier] <filename>
            Repair:  ESEUTIL /p <database name> [options]

   Note log file path must be specified explicitly
   unless using /IS or /DS options.

<<<<<  Press a key for more help  >>>>>
D=Defragmentation, R=Recovery, G=Integrity, U=Upgrade, M=File Dump,
P=Repair
=>

DEFRAGMENTATION (D)

DEFRAGMENTATION/COMPACTION:
 DESCRIPTION:  Performs off-line compaction of a database.
      SYNTAX:  ESEUTIL /d <database name> [options]
  PARAMETERS:  <database name> - filename of database to compact, or one of
                                /ispriv, /ispub, or /ds (see NOTES below)
    OPTIONS:  zero or more of the following switches, separated by a space:
              /l<path> - location of log files (default: current directory)
              /s<path> - location of system files (e.g., checkpoint file)
                         (default: current directory)
              /b<db>   - make backup copy under the specified name
              /t<db>   - set temp. database name (default: TEMPDFRG.EDB)
              /p       - preserve temporary database (i.e., don't instate)
              /o       - suppress logo
      NOTES:  1) The switches /ispriv, /ispub, and /ds use the Registry
                 to automatically set the database name, log file path,
                 and system file path for the appropriate Exchange store.
              2) Before defragmentation begins, soft recovery is always
                 performed to ensure the database is in a consistent state.
              3) If instating is disabled (i.e., /p), the original database
                 is preserved uncompacted, and the temporary database will
                 contain the defragmented version of the database.

RECOVERY (R)

RECOVERY:
 DESCRIPTION:  Performs recovery, bringing all databases to a
               consistent state.
     SYNTAX:  ESEUTIL /r [options]
    OPTIONS:  zero or more of the following switches, separated by a space:
              /is or /ds - see NOTES below
              /l<path>   - location of log files
                           (default: current directory)
              /s<path>   - location of system files (e.g., checkpoint file)
                           (default: current directory)
              /o         - suppress logo
      NOTES:  1) The special switches /is and /ds use the Registry to
                 automatically set the log file path and system file path
                 for recovery of the appropriate Exchange store(s).

INTEGRITY (G)

INTEGRITY:
 DESCRIPTION:  Verifies integrity of a database.
      SYNTAX:  ESEUTIL /g <database name> [options]
  PARAMETERS:  <database name> - filename of database to verify, or one of
                                 /ispriv, /ispub, or /ds (see NOTES below)
    OPTIONS:  zero or more of the following switches, separated by a space:
              /t<db>   - set temp. database name (default: INTEG.EDB)
              /v       - verbose
              /x       - give detailed error messages
              /o       - suppress logo
      NOTES:  1) The consistency checker performs no recovery and always
                 assumes that the database is in a consistent state,
                 returning an error if this is not the case.
              2) The special switches /ispriv, /ispub, and /ds use the
                 registry to automatically set the database name for the
                 appropriate Exchange store.


UPGRADE (U)

UPGRADE:
 DESCRIPTION:  Upgrades a database (created using a previous release of
               Microsoft(R) Exchange Server) to the current version.
      SYNTAX:  ESEUTIL /u <database name> /d<previous .DLL> [options]
  PARAMETERS:  <database name>   - filename of the database to upgrade.
              /d<previous .DLL> - pathed filename of the .DLL that came
                                  with the release of Microsoft(R) Exchange
                                  Server from which you're upgrading.
    OPTIONS:  zero or more of the following switches, separated by a space:
              /b<db> - make backup copy under the specified name
              /t<db> - set temporary database name (default: TEMPUPGD.EDB)
              /p     - preserve temporary database (i.e., don't instate)
              /o     - suppress logo
      NOTES:  1) This utility should only be used to upgrade a database
                 after an internal database format change has taken place.
                 If necessary, this will usually only coincide with the
                 release of a major, new revision of Microsoft(R)
                 Exchange Server.
              2) Before upgrading, the database should be in a consistent
                 state. An error will be returned if otherwise.
              3) If instating is disabled (i.e., /p), the original database
                 is preserved unchanged, and the temporary database will
                 contain the upgraded version of the database.


FILE DUMP (M)

FILE DUMP:
 DESCRIPTION:  Generates formatted output of various database file types.
      SYNTAX:  ESEUTIL /m[mode-modifier] <filename> [options]
  PARAMETERS:  [mode-modifier] - an optional letter designating the type of
                                 file dump to perform. Valid values are:
                                 h - dump database header (default)
                                 k - dump checkpoint file
               <filename>      - name of file to dump. The type of the
                              specified file should match the dump type
                              being requested (e.g., if using /mh, then
                              <filename> must be the name of a database).

REPAIR (P)

REPAIR:
 DESCRIPTION:  Repairs a corrupted or damaged database.
      SYNTAX:  ESEUTIL /p <database name> [options]
  PARAMETERS:  <database name> - filename of database to compact, or one of
                                 /ispriv, /ispub, or /ds (see NOTES below)
   OPTIONS:  zero or more of the following switches, separated by a space:
            /t<db>       - set temp. database name (default: REPAIR.EDB)
            /d           - don't repair the database, just scan for errors
            /v           - verbose output
            /x           - give detailed error messages
            /o           - suppress logo
   NOTES:  1) The switches /ispriv, /ispub, and /ds use the registry
              to automatically set the database name for the
              appropriate Exchange store.
           2) Recovery will not be run.
                

NOTE: The "Upgrade" section, under "Parameters", refers to the Edb.dll from the Exchange 5.5 CD. To find this file, locate the Server\Setup\Platform folder on the Exchange 5.5 CD.

For additional information about using ESEUTIL /U, click the article numbers below to view the articles in the Microsoft Knowledge Base:

196693 XADM: How To Use ESEUTIL /U to Upgrade a Database


259851 Ramifications of running the eseutil /p or edbutil /d /r command in Exchange


Keywords: kbinfo kbusage KB182903