RE: Eseutil and restored database - Jet database errors



Run eseutil /p (more info
http://support.microsoft.com/default.aspx?scid=kb;en-us;317014> to perform a
database repair (hard recovery).
Syntax: c:\program files\exchsrvr\bin>eseutil /p "C:\Program
files\Exchsrvr\mdbdata\pub1.edb"

Note: It approximately spends 1 hour for 6~8 GB database.

Move logfiles, chkfiles and tmp.edb out of mdbdata folder after successfull
eseutil /p

Run eseutil /d (more info
<http://support.microsoft.com/default.aspx?scid=kb;en-us;317014>) to perform
an offline defrag of the database(s) that were repaired.
NB: There must be 110% (of the size of the database) of free space on the
drive
where the temporary database will be created.
Syntax: c:\program files\exchsrvr\bin>eseutil /d "C:\Program
Files\Exchsrvr\mdbdata\pub1.edb"

Run isinteg (more info
<http://support.microsoft.com/default.aspx?scid=kb;en-us;301460> to fix
logical corruption).

NB: Run this command until there are no errors, warnings or fixes reported,
or up
to a maximum of 3 times.

EG: isinteg -s <servername> -fix -test alltests

After that you can try to mount the store. If you already mount an empty
store for
sending and receiving new emails, you need to build up a recovery server to
mount
the store; use ExMerge to export mailboxes to *.PST files and then import
then back to the new store.

Please refer to the "Method 3: Restore a Mailbox from Backup to a Recovery
Server" in the KB article below to install a new Windows 2003/Exchange 2003
server in a separate network and export data;
How to recover or to restore a single mailbox in Exchange Server 2003
http://support.microsoft.com/kb/823176

Defrag is not needed if you want to restore a mailbox from the recovery
storage group.
--

Regards,

Rene Frenger


"Bill Hobson" wrote:

A user screwed up their email, so I was trying to restore the edb and stm
files from backup to the Recovery Storage Group on Echange 2003 enterprise.
I ran exeutil with the /p switch to perform a hard repair. That ran fine,
but when then trying to run the /d option to defragment the database, I get
:

Operation terminated with error -1605 (JET_errKeyDuplicate, Illegal
duplicate key) after 42.47 seconds.

Is there a way fix the problem and get the database where it can be restored
from or is this backup just bad?

I tried mounting the database anyway and used exmerge to output the mailbox
data, but the resulting PST file was empty when opened in Outlook. When
using ESM to look at the user's mailbox it says it is 620 MB in size.Trying
to recover using the normal right-clicking of the mailbox and choosing
Exchange Tasks and attempting to restore gets the same results - nothing is
actually restored.

Geez - if you backup and verify and everything appears fine, then you can't
restore really shakes up my faith in my backups. DR just took a hit big
time.



.



Relevant Pages

  • RE: Restore deleted mail to pst after expire time
    ... if a mailbox is not connected to an Active Directory ... Although mailboxes in the recovery storage group are disconnected, ... Click the Restore tab, ... please refer to the following Microsoft KB article. ...
    (microsoft.public.exchange.admin)
  • Re: Brick layer restore under Exchg 2003 sp2
    ... Restore to the recovery storage group and use Exmerge to move the content ... "Protecting the world from PSTs and brick backups!" ... So how do I recover a mailbox that has been purged from ...
    (microsoft.public.exchange.setup)
  • Re: Recover a deleted mailbox using Recovery Storage group?
    ... retention but in this case the restore is from a long time ago, ... restored the tape to a recovery storage group. ... and im unable to create another mailbox store. ... restore the Schema Master and Exchange. ...
    (microsoft.public.exchange2000.admin)
  • Re: restoring an old mailbox
    ... To use a Recovery Storage Group, the Active Directory topology of the ... as when the copy of the database was made. ... in AD for the recover mailbox, reconnect the mailbox to the user account. ...
    (microsoft.public.exchange.admin)
  • Re: Crash recovery after shutdown immediate?
    ... database stated it wanted a recovery. ... it seems that a crash recovery occured. ... ARCH: Archiving is disabled ... After that, I did a backup, NOT a restore. ...
    (comp.databases.oracle.server)