SBS 2011 mailbox recovery

Associate
Joined
18 Oct 2002
Posts
966
Location
Ipswich
Hi,

I need to restore a users deleted emails from a SBS 2011 backup.

Using the built-in Windows backup I have been able to restore the EDB and log files. I now need to extract emails from the user's mailbox and import them back into their live mailbox.

Is anyone able to shed some light on how best to achieve this. I do not wish to buy third party software if possible.

Thanks in advance.

ICE
 
You will need to mount a Recovery Storage Group using your log files and your EDB files, and then you will be able to restore the mailbox content from the Recovery Storage Group.
 
As the guide you linked says, you should be able to just do:

New-MailboxDatabase -Recovery -Name RDB2 -Server MBX1 -EdbFilePath "C:\Recovery\RDB2\RDB2.EDB" -LogFolderPath "C:\Recovery\RDB2"

And point the command at the full path of your EDB file, and your log file folder, it should then create an RSG which uses those files.

I would however make a backup of your restored files and use those just in case you need to start again.
 
Hi Eulogy,

I am still struggling.

This is the command I enter into Power Shell:

New-MailboxDatabase -Recovery -Name Mailbox Database -Server SAESRV01 -EdbFilePath "D:\recovery\Mailbox Database.edb" -LogFolderPath "D:\recovery"

This is the error message I recieve:


The term 'New-MailboxDatabase' is not recognized as the name of a cmdlet, function, script file, or operable program. C
heck the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:20
+ New-MailboxDatabase <<<< -Recovery -Name Mailbox Database -Server SAESRV01 -EdbFilePath "D:\recovery\Mailbox Databas
e.edb" -LogFolderPath "D:\recovery"
+ CategoryInfo : ObjectNotFound: (New-MailboxDatabase:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

SAESRV01 is the hostname of the SBS2011 server in question.

Any further thoughts?
 
In 2010 I don't believe I saw the same option. If you type into Exchange Shell:

Get-Help New-MailboxDatabase

Does it come back with anything? if not it may not recognise the command.

In your command you also need to ensure all your parameters with spaces are enclosed in quotes or it will screw up. For example your command:

New-MailboxDatabase -Recovery -Name Mailbox Database -Server SAESRV01 -EdbFilePath "D:\recovery\Mailbox Database.edb" -LogFolderPath "D:\recovery"

Should become:

New-MailboxDatabase -Recovery -Name "Mailbox Database" -Server SAESRV01 -EdbFilePath "D:\recovery\Mailbox Database.edb" -LogFolderPath "D:\recovery"

As a matter of course I tend to quote all my parameters anyway to avoid issues.

Ignoring the fact this is for DPM, the general commands should work, you could try those from this guide:

http://msexchangeguru.com/2011/01/18/e2010-with-dpm/

For the reference I've not had to restore from a recovery database in 2010 yet, though i've done quite a few now in 2007 using our DPM 2010 solution at work.
 
Thanks all.

I was using the basic PowerShell - doh!

I am using this as a guide.

I am now getting stuck at the soft recovery stage. I am using the following command:

eseutil /r "E00" /l "D:\recovered\D_\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database" /d "D:\recovered\D_\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database"

The process gets all the way to about 95% but then I receive the following:

Operation terminated with error -510 (JET_errLogWriteFail, Failure writing to log file) after 341.533 seconds.

A Google search hasn't given me much. One suggestion was to disable UAC. I'm about to try that, but wondered if there might be something else causing this error?

Many thanks,

ICE
 
I wasn't but when I did it all made a lot more sense!

I think I have got there, just need to confirm with the user when they return.

Thank you all for the help.
 
Back
Top Bottom