Solved

Running eseutil.exe /p

Posted on 2006-07-03
3
889 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
Find out what you should include to make the best professional email signature for your organization.
In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…
how to add IIS SMTP to handle application/Scanner relays into office 365.

737 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