Article ID: 317014
Exchange 2000 Server includes a utility called Eseutil that replaces the Edbutil and Eseutil utilities that are included with earlier versions of Exchange.
The following command
C:\Program Files/Exchsrvr/BIN/>ESEUTIL /?generates the following output information:
For more information and related articles, click the following article numbers to view the articles in the Microsoft Knowledge Base:
Microsoft(R) Exchange Server(TM) Database Utilities<BR/> Version 6.0<BR/> Copyright (C) Microsoft Corporation 1991-2000. 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] File Dump: ESEUTIL /m[mode-modifier] <filename> Repair: ESEUTIL /p <database name [options] Restore: ESEUTIL /c[mode-modifier] <path name> [options] <<<<< Press a key for more help >>>>> D=Defragmentation, R=Recovery, G=Integrity, M=File Dump, P=Repair, C=Restore => DEFRAGMENTATION/COMPACTION: DESCRIPTION: Performs off-line compaction of a database. SYNTAX: ESEUTIL /d <database name> [options] PARAMETERS: <database name> - filename of database to compact OPTIONS: zero or more of the following switches, separated by a space: /b<db> - make backup copy under the specified name /t<db> - set temp. database name default: TEMPDFRG.EDB) /s<file> - set streaming file name (default: NONE) /f<file> - set temp. streaming file name (default: TEMPDFRG.STM) /p - preserve temporary database (i.e., don't instate) /o - suppress logo /i - do not defragment streaming file NOTES: 1) 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: DESCRIPTION: Performs recovery, bringing all databases to a consistent state. SYNTAX: ESEUTIL /r (3 character logfile base name)[options] 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) /i - ignore mismatched/missing database attachments /o - suppress logo INTEGRITY: DESCRIPTION: Verifies integrity of a database. SYNTAX: ESEUTIL /g <database name> [options] PARAMETERS: <database name> - filename of database to verify OPTIONS: zero or more of the following switches, separated by a space: /t<db> - set temp. database name (default:TEMPINTEG704.EDB) /s<file> - set streaming file name (default: NONE) /f<name> - set prefix to user for name of report files (default: <I>database</I>.integ.raw) /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. 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 l - dump log file or set of logs m - dump meta-data s - dump space usage <filename> - name of file to dump. The type of the specified file should match the dump type being requested. (eg. if using /mh, then <filename> must be the name of a database. OPTIONS: zero or more of the following switches, separated by a space: /v - verbose<BR/> /s<file> - set streaming file name (default: NONE) /t <table> - dump nodes for a certain table <dump modes mode only> REPAIR: DESCRIPTION: Repairs a corrupted or damaged database. SYNTAX: ESEUTIL /p <database name> [options] PARAMETERS: <database name> - filename of database to repair OPTIONS: zero or more of the following switches, separated by a space: /s<file> - set streaming file name (default: NONE) /t<db> - set temp. database name (default: TEMPREPAIR*.EDB) /f<name> - set prefix to use for name of report files (default: <database>.integ.raw) /i - bypass the database and streaming file mismatch error /g - run integrity check before repairing /createstm - create empty streaming file if the file is missing /o - suppress logo NOTES: 1) Repair does not run database recovery. If a database is in a "Dirty Shutdown" state it is strongly recommended that before proceeding with repair, recovery is first run to properly complete database operations for the previous shutdown. 2) The /i option ignores the signature mismatch error in the check phase if the database and streaming file do not match each other. The database and streaming file will receive new signatures in the repair phase. Without using this option, repair will terminate immediately once the database and streaming file mismatch error occurs. 3) The /g option pauses the utility for user input before repair is performed if corruption is detected. This option overrides /createstm and /o options. 4) The /createstm option is irreversible. Once you start the repair process a new streaming file will be created. Any streaming file that existed before the repair will no longer work with this database.
(http://support.microsoft.com/kb/259851/ )Ramifications of running the eseutil /p or edbutil /d /r command in Exchange
(http://support.microsoft.com/kb/170091/EN-US/ )XADM: Location of the Eseutil Utility
(http://support.microsoft.com/kb/192185/EN-US/ )XADM: How to Defragment with the Eseutil Utility (Eseutil.exe)
Article ID: 317014 - Last Review: June 19, 2014 - Revision: 7.0