Solved

Running eseutil.exe /p

Posted on 2006-07-03
3
864 Views
Last Modified: 2012-06-21
I need to run a hard repair on one of our databases that is corrupted.  I've read all the ramifications of running a hard repair, luckily we were able to move all the mailboxes to a different store, but I would still like to give this a shot for practice.  I've also read a lot of problems people seem to be having of the hard repair not finishing and getting hung.  

Anyway, the question I have is what parameters do I need to include with eseutil.exe /p?  I have not been able to find much info on this process.  We don't have much space at all on Exchange server, so if this process creates a temporary database while repairing the original, I'm going to need to include some switches so that it creates this temp database on a network drive.  

I know I need to run an offline defrag and isinteg -fix against the database after the hard repair is completed...
0
Comment
Question by:resourcepc
3 Comments
 
LVL 29

Accepted Solution

by:
mass2612 earned 500 total points
ID: 17034186
Hi,

I would run the repair with the /t switch to specify the temp location to a network drive with enough space, then run isinteg to repair any errors, once this is showing no errors then do a defrag using eseutil with the /t switch for the temp database location. MS recommends restoring the database from backup rather than running a repair if possible.

See  - http://www.msexchange.org/tutorials/Exchange-ISINTEG-ESEUTIL.html

See - http://support.microsoft.com/?id=317014
Eg. eseutil /p priv1.edb /tg:\tmppriv1.edb

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

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.


0
 
LVL 2

Author Comment

by:resourcepc
ID: 17074603
Pretty much just like eseutil /d then.... Thanks!
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
how to add IIS SMTP to handle application/Scanner relays into office 365.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now