Solved

Running eseutil.exe /p

Posted on 2006-07-03
3
897 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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
In this video we show how to create an Address List 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 Organization >> Ad…
To show how to generate a certificate request 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 Servers >> Certificates…

691 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