Link to home
Start Free TrialLog in
Avatar of ukitsme
ukitsme

asked on

Exchange 2013 Recover Mailbox Database

hi Experts,

I am logged in as administrator who is also organization manager and I am trying to recover Mailbox Database
Exchange server name is EXCH2013
Database location is default location and I recovered Mailbox and logs to c:\RDB1 from backup
Here are the commands I ran so far

1.      New-MailboxDatabase -recovery -name RDB -server EXCH2013 -EdbFilePath "C:\RDB1\Mailbox Database 1019791786.edb" -LogFolderPath "C:\RDB1"
2.      eseutil  /r E00 /i /d
3.      Mount-Database RDB
Now I try to run the command Get-Mailbox -Database "Mailbox Database 1019791786" | Restore-Mailbox -RecoveryDatabase RDB to finish recovering I am getting error message as shown in attachment
 

Get-Mailbox -Database "Mailbox Database 1019791786" is returning results.
19-Jan-14-2-03-56-PM.png
Avatar of Seth Simmons
Seth Simmons
Flag of United States of America image

looks like Restore-Mailbox may no longer be with exchange; only seeing that cmdlet with 2010
try New-MailboxRestoreRequest instead; can be used for disabled, deleted mailbox or one existing in a recovery database

New-MailboxRestoreRequest
http://technet.microsoft.com/en-us/library/ff829875%28v=exchg.150%29.aspx
SOLUTION
Avatar of dsnegi_25dec
dsnegi_25dec

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
As stated the above screenshot error message is due to cmdlet being depreciated in Exchange 2013.

Proper syntax to recover a database in Exchange 2013 is below...
New-MaiboxRestoreRequest -SourceDatabase DB1 -SourceStoreMailbox "mike jones" -TargetMailbox mike.jones@domain.com

Open in new window


For additional examples and syntax check the below link.
New-MailboxRestoreRequest

Will.
Avatar of ukitsme
ukitsme

ASKER

hi,

Here are the steps I entered and here is the error message that I am getting
Recovered data to folder RDB
1) eseutil.exe /mh "C:\RDB\Mailbox Database 1019791786.edb" | select-string "State:", "Log Required"
2)New-MailboxDatabase -Recovery NRDB -Server EXCH2013 -EdbFilePath C:\RDB\Mailbox Database 1019791786.edb"
3)Get-MailboxDatabase NRDB -status | fl Name, Mounted
4) Mount-Database NRDB -Verbose
now when I try to mount it here is the error message that I am getting (please check the screen shot)
Couldn't mount the database that you specified. Specified database: NRDB; Error code: An Active Manager operation
failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionTooManyMountedDatabases:
Unable to mount database. (hr=0x8004060e, ec=-2147219954)
20-Jan-14-6-26-36-AM.png
ASKER CERTIFIED 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
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
Hi,

For the data present in offline EDB (Exchange Server 2013), you can also try in third party tool also which can do such repair and recovery operations quickly. Apart from this if in future you want to migrate the data to a new Exchange Server or Office 365 format, then also through this tool you can do this. For more details you can refer to here
Avatar of ukitsme

ASKER

Will,
what you said is right? I had 5  DB's  mounted?

By the way guys what is true in the case if you want to recovery 1 mailbox(there are third party tools which do a much better job if you want to recover one or two mailboxes).
What in the event that my mailbox is corrupted to the point that repair doesn't fix it and I created a blank mailbox and trying to recover the whole mailbox database from the recovery database instead of one mailbox?

In Exch 2010 it was as easy as
Get-Mailbox -Database "Mailbox Database 1019791786" | Restore-Mailbox -RecoveryDatabase RDB

Is this a possibility in Exch 2013 as well?
Did you check my provided link ?
You can check that for Exchange 2013.
Avatar of ukitsme

ASKER

hi michaelalphi,

yes I read it, but no where there , there is an option to recover whole mailbox Database
Avatar of ukitsme

ASKER

Whats the procedure to recover a mail box of database to another mailbox database with different name?
First, check the details of mailboxes available in the Recovery Database :
Get-MailboxStatistics –Database "Recovery Database"
This command will make sure that the mailbox that you are trying to restore is existing in the Recovery Database.
This reference looks a good assistance for you : https://storegrid.vembu.com/online-backup/sp-help/PageHelp/exchange-recovery-database-restore.html
Avatar of ukitsme

ASKER

I was not able to recover the whole mailbox DB in a single go(it was possible in Exch 2010). Instead I created a new mailbox Database. Deleted corrupted MB DB and recreated Users mailbox's again for all users. Then ran the command
New-MailboxRestoreRequest -SourceDatabase "RDB01" -SourceStoreMailbox "<username1>" -TargetMailbox "<username1>@<domainname>" -AllowLegacyDNMismatch


 http://rajisubramanian.wordpress.com/2014/01/09/step-by-step-exchange-2013-database-recovery/
Avatar of ukitsme

ASKER

Thanks guys for your help and patience,