We help IT Professionals succeed at work.

Exchange Restore - lossy recovery option error

Pete
Pete asked
on
I have restored an Exchange 2010 database (windows backup) to an alternate location, running:
Eseutil.exe /MH “Mailbox Database Name.edb”
shows it is 'dirty shutdown'
running (as instructed to clean database):
Eseutil /R E00 /I /d

gives error:
"recovery has indicated that there might be a lossy recovery option. run recovery with the /a"

any ideas? thanks
Comment
Watch Question

Try running the command

Eseutil /R E00 /I /d /a

See if it bring the Database to a Clean Shut Down....

Author

Commented:
I get the same error
 
 

Author

Commented:
there is actually another line underneath the error:
terminated error -528 jet_errmissinglogfile, current log file missing
I am running this command from my restored location:
c:\restore\D_ex2010 databases and logs\mailbox\staff\
 
When you run the eseutil /mh commmand.

How many Log files does it say it is required. (Log File Required)
Look in the Log File Folder where you have the Log files.
See if all the required Log Files are there.

If so then again run the command.

Eseutil /r E00 /d "Database Path" /l "Log File Path" /a

See if this bring the Database to Clean Shut Down.

If not then you will have to perform the Repair on the Database.

How big is the size of the Database.

Author

Commented:
"log required" entry = 299-301
there are 302 log files in the restored location
Putting the log file path and /a as your posting I am still getting
lossy erre
terminated error -528 jet_errmissinglogfile, current log file missing
Ok in that case two options are with the Restore from the Backup or to do a Hard Repair on that Database.

Hard Repair would be a long process and it depends on the Size of the Database. There might be some data loss as well.

How big is your Database?

Author

Commented:
a log file called E00 does not exist in any restored location....does this matter?

Author

Commented:
I have already restored from backup, this IS the restore.
the database is not large there are only 100 or so users with quite small mailboxes.
 
Well do u have a restore.env file created when you restored the Database.

This file should be 1KB or 2KB in size.

Author

Commented:
there is no such file in the resored folder anywhere.
That file would be in C Drive else you have mentioned a different location for it.

Search the C Drive and see if you have that file.

What is the Backup Software that you are using.

Author

Commented:
there is no such file on the c: drive anywhere...
I am using windows 2008 R2 backup
 
You mean Windows Backup Right which is the VSS Backup.

This is not a Streaming Backup and won't have the restore.env File.

Ok. In this case since the Soft Recovery is failing you will have to repair the Database.

First Command would be

eseutil /p "Entire Path of the Database"

eg:- eseutil /p "D:\Database\Mailbox Database.edb"

In the Warning Popup windows click Yes.

Also tell me the size of the Mailbox Database.edb file
Once that is done.

Check the health of the Database.
It should be in clean shut down.

Then run the offline defragmentation with the eseutil /d "Entire Path of the Database".

Mount the Database and then Dismount it.

Then run the Isinteg command.

isinteg -s Server Name -test -alltests -fix

It is very important that you run all these three commands.

Author

Commented:
I have finally managed to work through the command above.
eseutil /p "Entire Path of the Database"
clean
eseutil /d "Entire Path of the Database"
isinteg -s Server Name -test -alltests -fix

looking at get-statistics of my restore database it shows the user John I want to restore has 124 items but running the command:

Restore-Mailbox -Identity recoveryname  -RecoveryDatabase MyRecoveryDatabase -RecoveryMailbox John -TargetFolder Recovery
creates a target folder in the 'recoveryname' mailbox but it is empty.....where have the 124 items gone that it should have moved to that folder in outlook?
During the restore-mailbox it says-  restoring from....to.....completed successfully.
Try this command and see if this shows the items there.

Get-MailboxStatistics –Database “Recovery Database”

http://www.msexchange.org/articles_tutorials/exchange-server-2010/high-availability-recovery/uncovering-new-exchange-2010-volume-snapshot-vss-plug-in-part2.html

Go through this article and see if this helps you out.

The Backup that you took was it before the user deleted these mails.

Author

Commented:
i finally got this to work, after starting from beginning of restore procedure again
not sure why I couldn't get to a clean shutdown state and what the implications of this eseutil /p command is.
 
.thanks for your help.