I had a mailbox on gagan_001.edb which was mounted in my exchange environment. I dismounted the database and took its backup.
Later on, I used the backup of the database to create and mount a Recovery databaseRDB_ABC. I tried to execute new-mailboxsearch on the recovery database giving source mailbox asSumit.
[PS] C:\Windows\system32>New-MailboxSearch -Name "Temp001" -SourceMailboxes "Sumit" -TargetMailbox "Discovery Search Mailbox" -StartDate "01/01/2005" -EndDate "12/31/2012" -SearchQuery "Find"
However search failed giving the error :
Errors: {An error occurred when searching Sumit Naik. The message is 'Cannot open mailbox /o=Boolean Array/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=WIN-E9PBE3JER1U/cn=Microsoft System Attendant.'.}
I tried to find about the Mailbox Sumit
[PS]C:\Windows\system32>Get-MailboxStatistics -DatabaseRDB_ABC | ?{$_.DisplayName -like 'Sumit*'} | fl DisplayName,MailboxGuid,DisconnectDate
DisplayName : Sumit Naik
MailboxGuid : a7bbe259-5a77-4989-bee5-46a31fdaca16
DisconnectDate :
I executed cmdlet to find which is the database where Sumit mailbox
[PS] C:\Windows\system32>get-mailbox |ft name,database
Name Database
---- --------
BooleanArray Mailbox Database 1802171555
DiscoverySearchMailbox {D919BA05-46A6-415f-80AD-7E09334B... Mailbox Database 1802171555
Gagan Test001
SearchResults Mailbox Database 1802171555
Vini gagan_001
Sumit Naik gagan_001
gagan_001 is a dismounted Exchange database whose backup had been taken.
Can anyone please let me know how can i search mailbox sumit in the Recovery database and move its mails based on search query to Discovery search mailbox.
Thanks.
Gagan
Gagan