Can't use restore-mailbox with -IncludeFolders on disconnected mailbox
I have a mailbox that was disconnected and subsequently purged. Then, a restore of the contacts folder was requested. We only have backups of the store from the time it was disconnected. I restored into an RSG and ran the following command:
Restore-Mailbox -Identity targetMBX -RSGDatabase "Server\RSG\Store" -RSGMailbox "Disconnected, User" -TargetFolder user -IncludeFolders \Contacts
I get the following error:
Restore-Mailbox : MapiExceptionNotFound: Unable to open message store. (hr=0x8004010f, ec=-2147221233)
Diagnostic context:
Lid: 18969 EcDoRpcExt2 called [length=104]
Lid: 27161 EcDoRpcExt2 returned [ec=0x0][length=284][latency=7]
Lid: 23226 --- ROP Parse Start ---
Lid: 27962 ROP: ropLogon [254]
Lid: 17082 ROP Error: 0x8004010F
Lid: 26937
Lid: 21921 StoreEc: 0x8004010F
Lid: 27962 ROP: ropExtendedError [250]
Lid: 1494 ---- Remote Context Beg ----
Lid: 26426 ROP: ropLogon [254]
Lid: 7588 StoreEc: 0x8004010F
Lid: 6564 StoreEc: 0x8004010F
Lid: 25805 Error: 0x0
Lid: 8936 StoreEc: 0x8004010F
Lid: 28877 Error: 0x0
Lid: 14312 StoreEc: 0x8004010F
Lid: 25805 Error: 0x0
Lid: 8936 StoreEc: 0x8004010F
Lid: 28877 Error: 0x0
Lid: 14312 StoreEc: 0x8004010F
Lid: 2055 StoreEc: 0x80070005
Lid: 25805 Error: 0x0
Lid: 8936 StoreEc: 0x8004010F
Lid: 28877 Error: 0x0
Lid: 14312 StoreEc: 0x8004010F
Lid: 25805 Error: 0x0
Lid: 8936 StoreEc: 0x8004010F
Lid: 28877 Error: 0x0
Lid: 14312 StoreEc: 0x8004010F
Lid: 3911 StoreEc: 0x8004010F
Lid: 2199 StoreEc: 0x8004010F
Lid: 25805 Error: 0x0
Lid: 8936 StoreEc: 0x8004010F
Lid: 8936 StoreEc: 0x8004010F
Lid: 17097 StoreEc: 0x8004010F
Lid: 8620 StoreEc: 0x8004010F
Lid: 1750 ---- Remote Context End ----
Lid: 26849
Lid: 21817 ROP Failure: 0x8004010F
Lid: 26297
Lid: 16585 StoreEc: 0x8004010F
Lid: 32441
Lid: 1706 StoreEc: 0x8004010F
Lid: 24761
Lid: 20665 StoreEc: 0x8004010F
Lid: 25785
Lid: 29881 StoreEc: 0x8004010F
At line:1 char:16
+ Restore-Mailbox <<<< -Identity targetMBX -RSGDatabase "Server\RSG\Store" -RSGMailbox "Disconnected, User" -TargetFolde
r user -IncludeFolders \Contacts
+ CategoryInfo : InvalidArgument: (0:Int32) [Restore-Mailbox], MapiExceptionNotFound
+ FullyQualifiedErrorId : D1D32226,Microsoft.Exchange.Management.RecipientTasks.RestoreMailbox
If I remove the -IncludeFolders parameter, it works just fine. If I run the same command on a mailbox that is connected with the -IncludeFolders parameter, it works just fine.
We're on SP1 Rollup 8, running on Win2k3.
I'm curious if this is a bug or a "by design" consequence of the mailbox being disconnected when it was backed up.
Thanks,
Doug
December 10th, 2009 8:21pm