Link to home
Start Free TrialLog in
Avatar of dbestcomputers
dbestcomputers

asked on

Database recovery help

We have a Win2k3 server that does our email with Exchange 2k3.  I didn't have a backup implemented (long story :-P) so when the server crashed and had to be wiped, I just pulled the MDBData folder out of C:\Program Files\Exchsrvr\ and wiped the machine.  I have reinstalled Win2k3 and reinstalled Exchange, and have set up users and mailboxes again without the old MDBData folder.  I would now like to find a way to pull the data out of the old files and into the new database.  We can safely assume the old database is corrupted due to bad shutdowns/restarts and the logs have not been written (they are labeled E0000001.log to E000009D.log I think...). I have the entire MDBData folder (about 1.1GB).

I know there is much information on the subject and I have tried sifting through some of it, for example: http://support.microsoft.com/?id=327334 has some information on copying mailboxes from an old store to a new database at the bottom.  Now, I recently had exchange installed to the C: drive, but on the new install, it is on the D: drive, so when I tried putting the old mdbdata folder in and starting the store it errors with:

Information Store (6132) First Storage Group: Database recovery failed with error -1216 because it encountered references to a database, 'C:\Program Files\Exchsrvr\mdbdata\priv1.edb', which is no longer present. The database was not brought to a consistent state before it was removed (or possibly moved or renamed). The database engine will not permit recovery to complete for this instance until the missing database is re-instated. If the database is truly no longer available and no longer required, please contact PSS for further instructions regarding the steps required in order to allow recovery to proceed without this database.

So, I copied the mdbdata folder to the same location on C: to stop this error, then proceeded to try and "fix" the database before going on with exporting/importing the mail.  I had tried doing eseutil /r logfilehere but it always errors with some weird API something or another error.  I had then given up on that and tried to do eseutil /p ..\mdbdata\priv1.edb and it "fixed" the database, but it still would not mount.  I also tried a isinteg -s EXServer -fix -test alltests, and it "fixed" the databae, but it still would not mount.  So, I gave up and put my old MDBData folder back and restarted the store, then came here. :-)
ASKER CERTIFIED SOLUTION
Avatar of redseatechnologies
redseatechnologies
Flag of Australia image

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
SOLUTION
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
Avatar of dbestcomputers
dbestcomputers

ASKER

Both comments are good ideas.  I will try both ideas, but as far as the cached mode, let's say I have the OST, but I didn't export it to a PST.  Now what would I do with it?  I won't get to try this stuff until tomorrow anyway, so I will keep you posted on what happens.
G'day

What should happen cached mode is if Ex is unavailable you can browse existing emails, calanders etc.  It's just a case from the PC for export this ost > pst. It's just like exporting a PST to a different PST only you are working on the cached ost file.  So in outlook 2003 you would click the root of the users mail store > File > Import & Export > Export to a file > Choose PST as the file type.  Include the option to include SubFolders too.

Please keep us informed on your progress. I feel your pain.  i had some juicy exchange issues the other week and it's not a nice feeling :)  

Your in good company though, redseatechnologies has saved me many a time before
If you can't open that ost file anymore, you could also try an ost to pst converter (although, these are not usually free, or terribly effective)

Rob has given you the best way to export from outlook, it is the most effective way to get data out of an ost file (assuming you can still open that profile)

Thank you for the compliment Rob, did you get my email the other day?

-red