Microsoft KB Archive/317014

= XADM: Exchange 2000 Server Eseutil Command Line Switches =

Article ID: 317014

Article Last Modified on 10/28/2006

-

APPLIES TO


 * Microsoft Exchange Server 2000 Service Pack 1
 * Microsoft Exchange 2000 Server Service Pack 2

-



This article was previously published under Q317014



SUMMARY
Exchange 2000 Server includes a utility called Eseutil that replaces the Edbutil and Eseutil utilities that are included with earlier versions of Exchange.



MORE INFORMATION
The following command

C:\Program Files/Exchsrvr/BIN/>ESEUTIL /?

generates the following output information:

Microsoft(R) Exchange Server(TM) Database Utilities Version 6.0 Copyright (C) Microsoft Corporation 1991-2000. All Rights Reserved.

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

MODES OF OPERATION: Defragmentation: ESEUTIL /d [options] Recovery: ESEUTIL /r [options] Integrity: ESEUTIL /g >>>>

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 [options] PARAMETERS: - filename of database to compact OPTIONS: zero or more of the following switches, separated by a space: /b    - make backup copy under the specified name /t    - set temp. database name default: TEMPDFRG.EDB)              /s   - set streaming file name (default: NONE)               /f   - 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  - location of log files (default: current directory) /s  - 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 [options] PARAMETERS: - filename of database to verify OPTIONS: zero or more of the following switches, separated by a space: /t  - set temp. database name (default:TEMPINTEG704.EDB) /s - set streaming file name (default: NONE) /f - set prefix to user for name of report files (default: database.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 [options] PARAMETERS:   - 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 - name of file to dump. The type of the specified file should match the dump type being requested. (eg. if using /mh, then must                                  be the name of a database.                OPTIONS:  zero or more of the following switches, separated by a space:              /v         - verbose              /s   - set streaming file name (default: NONE)              /t - dump nodes for a certain table

REPAIR: DESCRIPTION: Repairs a corrupted or damaged database. SYNTAX: ESEUTIL /p [options] PARAMETERS: - filename of database to repair OPTIONS: zero or more of the following switches, separated by a space: /s    - set streaming file name (default: NONE) /t      - set temp. database name (default: TEMPREPAIR*.EDB) /f    - set prefix to use for name of report files (default: .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 &quot;Dirty Shutdown&quot; 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.

For more information and related articles, click the following article numbers to view the articles in the Microsoft Knowledge Base:

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

170091 XADM: Location of the Eseutil Utility

192185 XADM: How to Defragment with the Eseutil Utility (Eseutil.exe)

Keywords: kbinfo KB317014

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.