locked
Can't mount database in RSG RRS feed

  • Question

  • Hi,

    I know there are many similar Q's out there already & I have reviewed them but I can't find one that fits my situation and solves my issue.

    My Setup: Exchange 2003, Server 2003, Backup exec 11

    My aim: to recover a deleted mailbox.

    My method: to restore a copy of priv1.edb from tape to a recovery storage group and from there to rescue the mailbox.

    My Problem: I cannot get the restored database to mount (hardly surprising). It is in a Dirty Shutdown state (as stated by eseutil).

    I need (i think) to commit the logs to the database to make it usable however I cannot find a process to do this that I want to test on a live exchange server. I did find some eseutil commands that appeared to do what i needed but as they did not specify the database i was afraid they would action on the live DB and not the RSG DB.

    The error when i try to mount is The DB files in the store are inconsistent. C1041739

    the state of the DB is Dirty Shutdown and the logs required are 222942 and my prefix is E00

    Can some provide me with the eseutil commands to carry out to change my restored database from Dirty Shutdown to Clean?

    the locations of RSG logs and DBs are

    F:\Exchsrvr\restore\Exchange Server\First Storage Group\Logs

    F:\Exchsrvr\restore\Exchange Server\First Storage Group\Mailbox Store

    Thanks in advance

    bren

    Friday, May 20, 2011 11:27 AM

Answers

  • Well this is embarrassing!

    I had the location of the streaming file set wrong. once i corrected it the database mounted correctly.

    just another pebkac picnic drama

    thanks to all for your time and apologies for wasting it.

    bren

    • Marked as answer by BrendanDunne Tuesday, May 24, 2011 9:13 AM
    Tuesday, May 24, 2011 9:13 AM

All replies

  • To make the db clean ,., you need to run eseutil /p , but that is not the solution of mounting the RSG db,
    Dilgently follow ..http://support.microsoft.com/kb/824126
    How to use Recovery Storage Groups in Exchange Server 2003

    should be ok.,,

     logs required are 222942 and my prefix is E00 ... are you using the correct backup to restore.?

     

    Friday, May 20, 2011 11:36 AM
  • Hi,

    http://support.microsoft.com/kb/824126... I used that KB when doing the install but will go through it again over the w'end and see if i can find what i missed.

     

    logs required are 222942 and my prefix is E00 ... are you using the correct backup to restore.?

    Well, it's correct in that it is the most recent backup that contains the mailbox i need. the backup is a couple of months old. I only want to pull one mailbox from it and not make the whole database live.

     

    thanks for your help.

     

     


    Friday, May 20, 2011 3:48 PM
  • 1. When you restored the EDB from tape to the RSG did you include the logs?

    2. Was the RSG used previously for recoveries?  if so would be best to ensure that EDB and Log path you are restoring to are empty before you start.

    If all of the above is ok and still will not work you may want to explore use of a 3rd party product like Lucid8's DigiScope http://www.lucid8.com/product/digiscope.asp since it can mount an offline EDB, roll up any associated/required logs etc and then you can browse, search, export to PST, MSG and XML or recover directly to a production server.


    Troy Werelius
    www.Lucid8.com
    Friday, May 20, 2011 4:06 PM
  • 1. It seems like although you have a backup of the database which you have restored.  When you performed the restore did you also restore any transactions logs with the restore.  Did you specify a temp location during the restore process where the logs should go? 

    2. If you did and the logs are there, then you need to replay the logs back into the data, use eseutil /cc to perform this.  Tihs should put the DB back into a clean shutdown and then you should be able to mount the DB.

    3. Failing that, as suggest above you can run the eseutil /p however this will take some time, not sure how big your DB is.

    4. Failing that, you can use a 3rd art tool as mentioned above or OnTrack or Quest to access the edb then recover the mailbox/files you need.

    5. Try and find the logs from the backup, they must be there somewhere.


    Sukh
    Friday, May 20, 2011 10:09 PM
  • Good suggestions from Sukh and I forgot to mention that you can use the DigiScope product above with a Demo license for free to roll-up the logs and make the database mountable or to repair it and then continue using it with the RSG if that's preferable
    Troy Werelius
    www.Lucid8.com
    Friday, May 20, 2011 11:10 PM
  • @ Troy

    1. yes. they are located in F:\Exchsrvr\restore\Exchange Server\First Storage Group\Logs

    2. no.

    Thanks, I'll have a look at the link.



    Monday, May 23, 2011 10:07 AM
  • @ Sukh 828

    1. yest the logs went to F:\Exchsrvr\restore\Exchange Server\First Storage Group\Logs

    2. Hi, this is similar to info I have found elsewhere on the www. can you supply a full syntax as I am wary to experiment here in case I write the logs to the production DB rather then the RSG DB. How do i specify which DB and which logs eseutil should use?

    3 & 4. thanks.


    Monday, May 23, 2011 10:10 AM
  • Hi,

    @ Khoj

    When following http://support.microsoft.com/kb/824126

    I get as far as this section:

    • If the database is not consistent, manually perform a hard recovery. To do so, open a command prompt, switch to the ExchSrvr\Bin folder, type the following line, where <var>Path of the Restore.env file</var> is the path of the folder that contains the Restore.env file on the hard disk, and then press ENTER:
      Eseutil /cc <var>Path of the Restore.env file</var>
      When the hard recovery operation completes successfully, the Restore.env file is deleted.

    My problem at this point is that I cannot find restore.env

    any ideas?


    Monday, May 23, 2011 11:41 AM
  • 1. Browse to the Exch directory - C:\Program Files\Exchsrvr\bin

    2. run the following eseutil.exe /cc "E:\Temp\SG4\SG4" - " enter your logs path, so in your case "F:\Exchsrvr\restore\Exchange Server\First Storage Group\Logs"

    3. After youhave done , check your edb again, should read clean shutdown.

    4. Mount database.

     


    Sukh
    Monday, May 23, 2011 1:17 PM
  • Hi,

    Ok, the database is now in the a clean shutdown state (i ran eseutil /p on it) but now when i try and mount it i get an error:

    c1041724: An internal processing error has occurred...

    Since the error has occurred I have restarted various services and then rebooted the server. I am stil getting the same c1041724 error.

    I had a look at http://support.microsoft.com/kb/294318 and there is over 50% free on the F drive that I have both the restored and live database (circa 250gb free)

    next move is a defrag I guess

    Tuesday, May 24, 2011 8:42 AM
  • 1. If you had the logs, why didnt you replay them back into the DB instead of running eseutil /p?

    2.  After running eseutil /p, you may have to now run ISINTEG


    Sukh
    Tuesday, May 24, 2011 9:12 AM
  • Well this is embarrassing!

    I had the location of the streaming file set wrong. once i corrected it the database mounted correctly.

    just another pebkac picnic drama

    thanks to all for your time and apologies for wasting it.

    bren

    • Marked as answer by BrendanDunne Tuesday, May 24, 2011 9:13 AM
    Tuesday, May 24, 2011 9:13 AM