Solved

Running eseutil.exe /p

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
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…
In this video we show how to create a mailbox database 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 >> Data…

785 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