• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1266
  • Last Modified:

Exchange 2010 Mailbox Recovery - Erroring

I have restored an entire exchange database into a Recovery database.  I have mounted this database to the exchange server and it is showing as online.

I have tried using the Restore-Mailbox and New-MailboxRestoreRequest commands and both error.  Attached is the Restore-Mailbox command with errors.

I am hoping that someone will be able to provide some assistance on this issue.  I need to restore this mailbox as the terminated user deleted all their emails before they left.
[10/17/2011 00:52:03.0895] [0] Executing Command: '        $scriptCmd = {& $wrappedCmd @PSBoundParameters }'
[10/17/2011 00:52:03.0910] [0] Searching objects "RecoveryDB" of type "MailboxDatabase" under the root "$null".
[10/17/2011 00:52:03.0910] [0] Previous operation run on domain controller 'ARS-DC1.aerison.com'.
[10/17/2011 00:52:03.0926] [0] Current ScopeSet is: { Recipient Read Scope: {{, }}, Recipient Write Scopes: {{, }}, Configuration Read Scope: {{, }}, Configuration Write Scope(s): {{, }, }, Exclusive Recipient Scope(s): {}, Exclusive Configuration Scope(s): {} }
[10/17/2011 00:52:03.0926] [0] Searching objects "Exchange Restore" of type "ADUser" under the root "$null".
[10/17/2011 00:52:03.0926] [0] Previous operation run on global catalog server 'ARS-DC1'.
[10/17/2011 00:52:03.0926] [0] Processing object "aerison.com/Users/Exchange Restore".
[10/17/2011 00:52:03.0957] [0] Searching objects "Mailbox Database 0511189085" of type "MailboxDatabase" under the root "$null".
[10/17/2011 00:52:03.0957] [0] Previous operation run on domain controller 'ARS-DC1.aerison.com'.
[10/17/2011 00:52:03.0973] [0] Searching objects "Melanie Griffiths" of type "MailboxStatistics" under the root "RecoveryDB".
[10/17/2011 00:52:04.0222] [0] Previous operation that ran on: 'ars-dc1.aerison.com'.
[10/17/2011 00:52:04.0253] [0] Admin Audit Log: Entered Handler:Validate.
[10/17/2011 00:52:04.0253] [0] Admin Audit Log: Exited Handler:Validate.
[10/17/2011 00:52:06.0375] [0] Resolved current organization: .
[10/17/2011 00:52:06.0375] [0] Admin Audit Log: Entered Handler:OnComplete.
[10/17/2011 00:52:06.0422] [0] Admin Audit Log: Exited Handler:OnComplete.
[10/17/2011 00:52:06.0422] [0] Ending processing &
[10/17/2011 00:52:06.0422] [0] [exchangerestore] The operation has started.
[10/17/2011 00:52:06.0422] [0] [exchangerestore] Approving object.
[10/17/2011 00:52:06.0422] [0] [exchangerestore] The operation has finished.
[10/17/2011 00:52:06.0422] [0] [exchangerestore] The operation has started.
[10/17/2011 00:52:06.0422] [0] [exchangerestore] Approving object.
[10/17/2011 00:52:06.0734] [0] [exchangerestore] Opening source mailbox.
[10/17/2011 00:52:06.0734] [0] [exchangerestore] Trying to open mailbox by GUID: 
	szServerLegacyDN: /o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=ARS-DC1
	pguidMdb: {6E4ABA6F-30C5-4D05-A883-1FC7ED7EAB69}
	pguidMailbox: {FF5FF5A9-8A2F-4070-A84D-7655972E1F7C}
	szServer: ARS-DC1.aerison.com
[10/17/2011 00:52:06.0734] [0] Admin Audit Log: Entered Handler:OnComplete.
[10/17/2011 00:52:06.0781] [0] Admin Audit Log: Exited Handler:OnComplete.
[10/17/2011 00:52:06.0781] [0] [ERROR] Error was found for Exchange Restore (ERestore@aerison.com) because: Error occurred in the step: Opening source mailbox. Failed to open mailbox by GUID with error: The operation failed., error code: -1056749260
[10/17/2011 00:52:06.0781] [0] [exchangerestore] The operation has finished.

Open in new window

[PS] C:\Windows\system32>Restore-Mailbox -Identity "Exchange Restore" -RecoveryDatabase RecoveryDB -RecoveryMailbox "Mel
anie Griffiths" -TargetFolder RestoredData

Confirm
Are you sure you want to perform this action?
Recovering mailbox content from mailbox 'Melanie Griffiths' in the recovery database 'RecoveryDB' to the mailbox for
'Exchange Restore (ERestore@aerison.com)'. This operation may take a long time to complete.
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is "Y"): y
Error was found for Exchange Restore (ERestore@aerison.com) because: Error occurred in the step: Opening source mailbox
. Failed to open mailbox by GUID with error: The operation failed., error code: -1056749260
    + CategoryInfo          : InvalidOperation: (0:Int32) [Restore-Mailbox], RecipientTaskException
    + FullyQualifiedErrorId : BF7FB5B,Microsoft.Exchange.Management.RecipientTasks.RestoreMailbox



RunspaceId                       : 52f0191b-dddf-4653-aa5c-4993c7eb499a
Identity                         : aerison.com/Users/Exchange Restore
DistinguishedName                : CN=Exchange Restore,CN=Users,DC=aerison,DC=com
DisplayName                      : Exchange Restore
Alias                            : exchangerestore
LegacyExchangeDN                 : /o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipien
                                   ts/cn=Exchange Restore393cf7f6
PrimarySmtpAddress               : ERestore@aerison.com
SourceServer                     : ARS-DC1.aerison.com
SourceDatabase                   : RecoveryDB
SourceGlobalCatalog              : ARS-DC1
SourceDomainController           :
TargetGlobalCatalog              : ARS-DC1
TargetDomainController           :
TargetMailbox                    : aerison.com/Users/Exchange Restore
TargetServer                     : ARS-DC1.aerison.com
TargetDatabase                   : Mailbox Database 0511189085
MailboxSize                      : 2.252 GB (2,418,007,505 bytes)
IsResourceMailbox                : False
SIDUsedInMatch                   :
SMTPProxies                      :
SourceManager                    :
SourceDirectReports              :
SourcePublicDelegates            :
SourcePublicDelegatesBL          :
SourceAltRecipient               :
SourceAltRecipientBL             :
SourceDeliverAndRedirect         :
MatchedTargetNTAccountDN         :
IsMatchedNTAccountMailboxEnabled :
MatchedContactsDNList            :
TargetNTAccountDNToCreate        :
TargetManager                    :
TargetDirectReports              :
TargetPublicDelegates            :
TargetPublicDelegatesBL          :
TargetAltRecipient               :
TargetAltRecipientBL             :
TargetDeliverAndRedirect         :
Options                          : Default
SourceForestCredential           :
TargetForestCredential           :
TargetFolder                     : \RestoredData\Recovered Data - Melanie Griffiths - 10/17/2011 08:52:04
PSTFilePath                      :
RecoveryMailboxGuid              : ff5ff5a9-8a2f-4070-a84d-7655972e1f7c
RecoveryMailboxLegacyExchangeDN  : /O=FIRST ORGANIZATION/OU=EXCHANGE ADMINISTRATIVE GROUP (FYDIBOHF23SPDLT)/CN=RECIPIEN
                                   TS/CN=MELANIE GRIFFITHS
RecoveryMailboxDisplayName       : Melanie Griffiths
RecoveryDatabaseGuid             : 6e4aba6f-30c5-4d05-a883-1fc7ed7eab69
StandardMessagesDeleted          : 0
AssociatedMessagesDeleted        : 0
DumpsterMessagesDeleted          : 0
MoveType                         : Restore
MoveStage                        : Move
StartTime                        : 17/10/2011 08:52:06
EndTime                          : 17/10/2011 08:52:06
StatusCode                       : -1056749260
StatusMessage                    : Error occurred in the step: Opening source mailbox. Failed to open mailbox by GUID w
                                   ith error: The operation failed.
ReportFile                       : C:\Program Files\Microsoft\Exchange Server\V14\Logging\MigrationLogs\restore-Mailbox
                                   20111017-085203-8950442.xml
ServerName                       : ARS-DC1.aerison.com

Open in new window

0
ddawes
Asked:
ddawes
  • 8
  • 6
1 Solution
 
Em ManCommented:
what is the value of the HomeMDB?

Use ADSIEdit and check if it has the attribute.

CN=Configuration
CN=Services
CN=Microsoft Exchange
CN=<OrganizationName>
CN=Administrative Groups
CN=Exchange Administrative Group (<ID>)
CN=Databases
0
 
ddawesAuthor Commented:
In Properties of CN=Databases, there is no property HomeMDB.  Should there be and what should it be set to?
0
 
Em ManCommented:
hold on... checking on my Exchange 2010 Virtua Testl Machine.

What about the Property for that username?
are their any HomeMDB?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Em ManCommented:
*are there any HomeMDB on the users Mailbox Attribute Editor?
0
 
ddawesAuthor Commented:
Are you able to provide some more information as to what I am checking?  I haven't used ADSI Edit much.
0
 
Em ManCommented:
as I can see on the log, there is some problem with "MELANIE GRIFFITHS"

it could be that some attributes here is missing or incorrect.
0
 
Em ManCommented:
I found this similar issue, not sure if you tried this one already as I cannot replicate it from my virtual test machine.

-------------------------------
New-MailboxRestoreRequest -SourceDatabase "INSEXMB2RDB1A" -SourceStoreMailbox "Test User" -TargetMailbox mailrecover1

-TargetRootFolder "Test" -AllowLegacyDNMismatch

FYI, I did get the error below when I didn't use the -AllowLegacyDNMismatch parameter, since the Recovery Database is a pre SP1 backup and the database I'm restoring to is post SP1:

"Source mailbox's legacyExchangeDN '/O=COMPANY/OU=SITE/CN=RECIPIENTS/CN=TESTUSER' doesn't match the legacyExc
hangeDN or X500 proxy for target mailbox 'mailrecover1A'. Use the 'AllowLegacyDNMismatch' switch if you want to allow this operation."

-------------------------------

More here:
http://social.technet.microsoft.com/Forums/en-US/exchangesvravailabilityandisasterrecovery/thread/447d0528-d9a1-4085-ad0c-f5f4c9b85857/
0
 
ddawesAuthor Commented:
I have also tried using the New-MailboxRestoreRequest command already and it also fails.  Gets to 11% complete then status changes to Failed.


Melanie's account has the homeMDB attribute with a value of "CN=Mailbox Database 0511189085,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=aerison,DC=com".  That looks like the correct database her account is assigned to."


Any other ideas? Really need to get this sorted.
0
 
Em ManCommented:
hope this one helps found this one on Microsoft site, not sure if you already seen this.

http://social.technet.microsoft.com/Forums/en/exchangesvravailabilityandisasterrecovery/thread/0e31af67-794a-45d1-bb67-7219bff1bb48



Restore as normal

New-StorageGroup -Server "xxxxxx" -LogFolderPath "V:\RSG\logs" -Name "Recovery Storage Group" -SystemFolderPath "V:\RSG\system" –Recovery

New-MailboxDatabase -MailboxDatabaseToRecover "xxxxxx" -StorageGroup "xxxxxx\Recovery Storage Group" -EDBFilePath "V:\RSG\RSGDB1.edb"


Ensure user is in the restored RSG

Mount RSG in EMC DR and gather merge or copy information to view mailboxes to ensure mailbox is there

Get list of users in mailbox datase and ensure the mailbox is still there:

Get-MailboxDatabase "Recovery Storage Group\xxxxxx" | Get-MailboxStatistics >c:\recover.txt

 

Create a new datasbase

Create a SG on V drive

Create a database with same name as where the user was

Allow the database to be overwritten by a restore

Suspend SG replication

 

Move edb to new database

Dismount RSG database

Ensure new database is also dismounted

Copy RSG edb file to new database location

Rename edb file to original name

 

Ensure user is in the new database

Mount the new database

Get database name:

Get-MailboxDatabase

Get list of users in mailbox datase and ensure the mailbox is still there:

Get-MailboxDatabase "xxxxxx\xxxxxx" | Get-MailboxStatistics >c:\recover2.txt

 

Reconnect mailbox and export

In EMC go to the new database under “Disconnect Mailbox” and ensure the user is there

Reconnect the user to an account without a mailbox

Open the mailbox

If OK export content to PST file

 

Clean up

Remove-MailboxDatabase –identity “xxxxxx\Recovery Storage Group\xxxxxx”

Remove-StorageGroup –identity “xxxxxx\Recovery Storage Group”
0
 
ddawesAuthor Commented:
Are you sure this article relates to Exchange 2010?

I was reading "http://www.msexchange.org/articles_tutorials/exchange-server-2010/high-availability-recovery/uncovering-exchange-2010-database-availability-groups-dags-part1.html" a little while back and remembered seeing the comment "This also means Exchange 2010 does not have the concept of storage groups any longer. Now there are databases and a log stream associated with each database".
0
 
Em ManCommented:
nope, this is a 2007 Exchange Server and has similar issues with your concern.
however this only to give you idea for possible resolution.

Been trying to replicate this problem since I have both Exchange 2003 and 2010 on my virtual machines, and can't really replicate this kind of error.
0
 
Em ManCommented:
ddawes;

sorry for the delay. any updates?

I've been reading the logs and it the terminated users has a 2GB size of mailbox.

Just wild guess, what is your Storage Limit Policy for the DB where you need to store this employee?
also does the account active in AD is Active?
0
 
ddawesAuthor Commented:
No updates on the issue.  Still experiencing the same issue.

Not sure how to go forward with the suggestion above - The commands obviously don't work with Exchange 2010 and I'm not sure what the equivilent commands are.

We do not have any storage limits set on the "Mailbox Database 0511189085" which is where the Exchange Restore account is located.

We have not deleted Melanie's account from AD, so that still exists as well.
0
 
ddawesAuthor Commented:
No resolution found for issue.
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 8
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now