XADM: Using ESEUTIL to Determine Which Logs Have Been Committed

ID: Q182961


The information in this article applies to:


SUMMARY

To determine which log files have been committed to the Priv.edb, Pub.edb, or Dir.edb file, you can use the ESEUTIL utility to view the contents of the Edb.chk file.


MORE INFORMATION

To dump the file to screen, perform an ESEUTIL /MK EDB.CHK | MORE. If ESEUTIL is not being run from the directory where the Edb.chk file is located, the full path must be provided. There is one checkpoint file for each set of log files. There will be one Edb.chk file for the directory and one for the information store. (Priv.edb and Pub.edb share the same log files and checkpoint file.)

The following information will be displayed:


   Microsoft(R) Exchange Server Database Utilities

   Version 5.5

   Copyright (C) Microsoft Corporation 1991-1997. All Rights Reserved.



   Initiating FILE DUMP mode...
      Checkpoint file: edb.chk

      LastFullBackupCheckpoint (8,615,203)
      Checkpoint (22,6485,399)
      FullBackup (8,615,203)
      FullBackup time:3/6/1998 11:52:16
      IncBackup (0,0,0)
      IncBackup time:0/0/1900 0:0:0
      Signature: Create time:2/24/1998 14:23:47 Rand:24842 Computer:
      Env (Session, Opentbl, VerPage, Cursors, LogBufs, LogFile, Buffers)
          (    168,   25200,    4440,    8400,      84,   10240,    8045)

   Operation completed successfully in 0.20 seconds. 

Take the first number in the parentheses for the Checkpoint field and convert it to hexadecimal. The hex number will be the file name of the first uncommitted log for the appropriate directory. Circular logging works by deleting all log files with generations that are lower than the generation in the checkpoint.

Example:
Checkpoint (22,6485,399) = EDB00016.LOG
This syntax applies for most other fields in the dump (LastFullBackupCheckpoint, FullBackup, IncBackup, and so on).

Additional query words: CHK


Keywords          : 
Version           : 5.5
Platform          : winnt 
Issue type        : kbhowto 

Last Reviewed: April 2, 1999