Link to home
Start Free TrialLog in
Avatar of qtg
qtgFlag for Australia

asked on

Restore SBS 2003 Exchange

After a hard server power down, priv and pub stores would not mount. As server failure occurred only a few hours from successful SBS Backup, decided to restore from backup. Effected restore without incident, but stores will not mount. eseutil /cc returns "Operation terminated with error -574 (JET_errLogCorruptDuringHardRecovery, corruption was detected during hard recovery (log was not part of a backup set)).

Any suggestions as to recovery from here?
Avatar of Nitin Gupta
Nitin Gupta
Flag of United Kingdom of Great Britain and Northern Ireland image

Hi,
Your Backup was a successful one, when done last time right?. I can make out that Hard Recovery is failing which is primarily you trying to replay the Log files (present) into the restored backup.
Please refer these guides once more to restore from backup and let me know
Can you check "The Last Backup Set" check box .... during the process. If you are keen on ESEUTIl /c are you aware of Log Files path and presence.....!
Thanks
Nitin Gupta (gupnit)
Avatar of qtg

ASKER

gunpit - thanks - I was aware of the first and third articles, but not of the second. Regardless, I have restored per the recommendations, and here I am with the previosuly referred-to error.

My successful SBS Backup was reported at 3am this morning, and the server went 'down' at 8am this morning.

Is it worth noting that there are no logfiles in my MDBDATA folder?

Any other thoughts?
In that case as I said...you need not do a hard recovery, bring back in RSG and then from there move to DB. A process similar to Dial Tone Recovery process is what yoyu should be looking at. Refer: http://www.msexchange.org/tutorials/Exchange-Dial-tone-Restore-Method-Part1.html
Let me know
Avatar of qtg

ASKER

I'm not familiar with the process - will I deviate at all from the process referenced?
-574 (JET_errLogCorruptDuringHardRecovery, corruption was detected during hard recovery (log was not part of a backup set)).

With above error i dont think you are using correct logfiles to replay.

Which logfiles are you using while performing Eseutil /CC ...you should be using restore.env.

cmd should be something like
ESEUTIL /CC "d:\temp\First Storage Group"

where "temp\First Storage Group" is the location you mentioned in step 6 of above mentioned article ("http://support.microsoft.com/kb/258243 )"To restore the backup" section in perticular.

Check this you can also just select the "Last Backup Set" check box in the backup restore wizard when you restore your last database, or you can use the Eseutil /CC

http://technet.microsoft.com/en-us/library/aa997899(EXCHG.80).aspx


 


Avatar of qtg

ASKER

When performing the restore, I am directing temp files to E:\RestoreTemp.
I am then using the command 'eseutil /cc "E:\RestoreTemp"'

When I perform the restore from backup, in the RestoreTemp\First Storage Group folder is a single logfile, and the restore.env file.

I am effecting a restore with the 'Last Backup Set' checkbox checked.
@Narayan - I have said all that earlier?
@GTG  - Are you planning Soft Restore !!
Avatar of qtg

ASKER

Sorry to show my ignorance - but don't I need logfiles to perform a soft restore?

eseutil /mh shows 'Dirty Shutdown'.
Sorry "gupnit" if anything overlaped ur comment...did not mean so..

you said you are trying 'eseutil /cc "E:\RestoreTemp" insted use the path till storage group.

eseutil /cc E:\RestoreTemp\First Storage Group  (befoe running this just make a copy of restore.env)

("eseutil /mh shows 'Dirty Shutdown") if thats ur original database not the restored one you could perform soft recovey priovided you have log files required.

in output of eseutil /mh you will see the required logfiles.

Avatar of qtg

ASKER

Yes - I am running 'eseutil /cc "E:\RestoreTemp\First Storage Group"' - I was just notating short hand.

Dirty shutdown is reported on my restore from backup.

The logfile specified by eseutil /mh is present.
You can even run soft recovery
eseutil /r e00 /l logfilepath /d database path /i

e00 is the database prefix.

The restore database will show dirty unless the restore.env is played.

Where have you restore the database live or Recovery storage group

Run eseutl /cm E:\RestoreTemp\First Storage Group and see the destination where it is going to play those files it should be you restored database.

Avatar of qtg

ASKER

I have attempted an "eseutil /r e00 /l "D:\Program Files\Exchsrvr\MDBDATA" /d "D:\Program Files\Exchsrvr\MDBDATA", and get the following error -

"Operation termianted with error -544 (JET_errSoftRecoveryOnBackupDatabase, Soft recovery is intended on a backup database. Restore should be used instead)"

I have attempted an "eseutil /cc "E:\RestoreTemp\First Storage Group", and get the following error -

"Operation terminated with error -615 (JET_errRestoreOfNonBackupDatabase, hard recovery attempted on a database that wasn't a backup database)"

Am I missing something really simple?

Thanks.
Run eseutil /cm E:\RestoreTemp\First Storage Group and see the destination where it is going to play those files it should be your restored database.
and on the store property in recoverusorage group please check this database can be overwritten by restore.
@Narayan - No Issues :-) !
@ ggt - Gentleman, why are you trying hard recovery.....backup was at 3:00AM, and 8AM server went down, how much of a mail loss are we looking at - negligible. But you not bring it up is longer. See I mentioned use Dial Tone, are you trying that?
Avatar of qtg

ASKER

gupnit - eseutil shows dirty shutdown - can't continue with Dial Tone.
Have you restored the database on live store or on the Recoverystorage group?

As you said above you also have the logfiles mention in eseutil /mh but when you ran softrecovery you ran it against the restored database that why you had error -544

if you have your production database and the logfiles that production database requires to becme consistent .. soft recovery should work.

you can do dialtone even when you have dirt database repair that database using eseutil /p and databse will become clean shutdown then do dial tone.

Where is the database restored and wat about the resukt from eseutil /cm ??
ASKER CERTIFIED SOLUTION
Avatar of Nitin Gupta
Nitin Gupta
Flag of United Kingdom of Great Britain and Northern Ireland 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
Avatar of qtg

ASKER

Don't I restore with eseutil?
Nope.....You use the Backup software like NTBackup, mBackup Exec etc etc
Avatar of qtg

ASKER

This is a nightmare!!!! Having performed the first step of the 'Dial Tone' process (moving the priv1.edb and priv1.stm), when I attempt to mount the store, I get a message "The database files in this store are corrupted. ID no: c104173b." There are no database files in the store location!!!

Help!
What about the log files and checkpoint file move all them to different location and then try to mount the dtabase
Avatar of qtg

ASKER

A couple of server reboots later (something was locking the MDBDATA folder, and I could not delete logfile contents), and the process gupnit referred worked 'letter-perfect'!!

Thanks for all your help.
Glad to be of help, though with lot of q&a :-)
Cheers
Nitin Gupta (gupnit)