Saturday, July 7, 2007

Exchange server 2003

Last Backup Set or /ESEUTIL /CC

When you restore your mailbox store data from backup, there is the Last Backup Set option. When Last Backup Set option is selected, after the database is copied to their original location, and the transaction log files from the temp directory are replayed into it -- Hard recovery.

Any additional transaction log files that it finds in the transaction log file path specified for the storage group of the restored database will be replayed when the store is remounted -- soft recovery.

Eseutil /cc performs the same function as the Last Restore Set check box.

A single storage group stores its transaction logs in E:\Exchsrvr\Mdbdata

A single mailbox store is in F:\Exchsrvr\Mdbdata.

F:drive fails. You replace the disk and create new mailbox store file in the new disk. You restore the mailbox store from backup and configure C:\temp as the location for the transaction log files.

After restoration, you get error message when trying to mount the store.


When the Last Backup Set is not selected during the restoration, After the databases are copied to their original location, and the transaction log files from the temp directory are not replayed. The database is in inconsistent state. It is unmountable.

solution one: run eseutil /cc against the c:\temp directory

Solution two:

You can mount it with possible data loss after you accomplish the following:
Delete the transaction log files from E:\Exchsrvr\Mdbdata
Delete the checkpoint file from E:\Exchsrvr\mdbdata
run eseutil /d on the database to rebuild the indexes.