Link to home
Start Free TrialLog in
Avatar of TimFarren
TimFarren

asked on

Exchange 2007 Recovery

I'm trying to recover an exchange 2007 database.  All I have is a VSS snapshot of the database (right click drive D drive, previous versions, found the .edb file from yesterday).

The file won't mount if I replace it with the current "mailbox database.edb" file.

Could someone please describe how I can take a "previous version" of the exchange 2007 database and mount it again or recover the mailboxes?

Thanks!
Avatar of Kamalasekar Parthasarathy
Kamalasekar Parthasarathy
Flag of India image

Hi...

Move all the log files to the different drive and try to mount it. If still no luck.

1)  Please check the database status by using eseutil /mh and path of the database.
2) If its a dirty shutdown, then you have to perform the soft recovery by using Eseutil /r

Please find the below link and it will be helpful for you

http://msexchangeguru.com/2009/07/12/exchange-database-recovery-using-eseutil-commands/
Avatar of Ajay Sharma
You are trying to recover from volume shadow copy. This is not recommended option to restore old database to exchange anyhow you can do it but when you will recover it. It will be dirty shutdown state and I believe you have to run a hard recover on to bring it in clear shutdown state. that could be a data loss for user.
So if you have any backup of it then recover that in recover storage and you can merge the require data to exiting database without any lose
In case if you don't have any other option expect this then create new database on another location and move users to that. after doing this procedure go to vss recovery. Once you will have the old edb then don't try to mount it directly.
Create recovery storage group for the new database on which your user are and copy these edb's to that recovery group manually  and  bring this edb in clean shutdown start using eseutil and recover the required old data to and merge it to new database.
by doing so your user will not face long down time and you can recover only the required users data.
Good luck
Avatar of TimFarren
TimFarren

ASKER

I copied the restored database to the RSG folder but the RSG will not mount.  I'm doing a repair on the RSG now.
yes you have to run eseutil on recovered edb file to bring it in clean shutdown state. Once It will be in clean shutdown state then you will be able to mount it.
After the repair completed, I still can't mount it.  I get this:

Unable to mount database. (hr=0x80004005, ec=-1032)
check the shutdown state of edb file using eseutil /mh and make sure that it should be in clean shutdown state . Else you have to run hard recovery on it by using eseutil /p
Yes, it did say dirty shutdown with the /mh.  I'm now running /p against it.
Great.. the /p allowed me to mount.. but now I have another problem:  Trying to merge contents, every mailbox errors out with the following:

Error restoring the mailbox (/O=FIRST ORGANIZATION/OU=EXCHANGE ADMINISTRATIVE GROUP (FYDIBOHF23SPDLT)/CN=RECIPIENTS/CN=BGOLDEN). Error message is: The specified mailbox "e7a07bd4-b588-469f-9faa-961bbe957aee" does not exist on database "VCB1\Recovery Storage Group\Mailbox Database"..

Some background info, All the mailboxes had been re-created in a new exchange database (blank).  

Man.. exchange is one difficult beast sometimes.  I don't know why there aren't options to just make it place mailbox a into mailbox b with no questions asked..

HELP?!
Wat is the status now on this.. did you find any resolution.. please update us.

what do you mean by "Some background info, All the mailboxes had been re-created in a new exchange database (blank). " 

is there any issue with your live users ??

Note = You need create the RSG for the current database and need to restore the database in it. did you do the same ????

you can also export the mailboxes from this database to pst files.
check this link:- http://www.vatofknow.com/archives/409
I'm sorry for the big gap in updates..
Here's the dea now..  RSG mounted - but attempting to merge the contents is a problem because of what happened to the users (accidentally deleted and then re-created.)  The mailbox GUIDS don't match.  I get a list of all the mailboxes, and they are all "unmatched".

I'd settle for a pst export of this at this point.  The user has started to panic due to this loss of data and I'm still unable to help.  Does anyone know what to do now that the mailboxes are orphaned? (not sure if that's the right term).

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of TimFarren
TimFarren

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Remove!