The specified mailbox ... does not exist on database ...
- I am trying to restore a folder in an Exchange mailbox. After restoring the database to the RSG, I try to run
Restore-Mailbox -Identity user1 -RSGDatabase "Server\SGR\Mailbox01" -IncludeFolders "\Foldername"
This always results with an error message indicating "The specified mailbox USER1 does not exist on the database SERVER\SGR\MAILBOX01". I have tried multiple mailboxes in different stores on different mailbox servers and get the same result. This used to work but this week it does not. Some time ago, we applied Rollup 9 for Exch 2007 SP1 and I do not know if it has worked since then or not.
Všechny reakce
- I have seen this issue and normally happens when there is a GUID mismatch with the RSG.
Have a look into this http://forums.msexchange.org/m_1800451066/tm.htm
Raj - I have seen that post and although the problem is similar, it does not have a solution. It does suggest using the EMC and Merge but there is no merge ifunction in the EMC. The final post says what you say, it is a GUID mismatch but does not offer a solution.
- Ok, I just took a look at this in my lab. As stated already, this is a guid issue, probably because the mailbox has been deleted and recreated since the backup was made.
You can confirm this by comparing the current mailbox guid to the one in the recovery database using this command:
Get-MailboxDatabase | Get-MailboxStatistics | ?{$_.DisplayName -eq "John Doe"} | select DisplayName,Database,MailboxGuid | fl
The only way this will work is if the msExchMailboxGuid attribute on the users AD account matches the one from the RSG database. You could manually change it using ADSIEdit.
Check out this article, its about Exchange 2003 but the resolution is essentially the same:
http://telnetport25.wordpress.com/2007/08/09/using-recovery-storage-groups-where-the-primary-mailbox-has-been-purged-from-the-store/ I used the command provided by Mike and got the results below. You can see that the MailboxGuids are the same, so I do not have a mismatch. I have tried the restore with half a dozen mailboxes in this same store and a couple others in another store on another server, all with the same result. None of these mailboxes have ever been deleted and recreated.
DisplayName : Pattison, Jackie
Database : DC1SERV354\SG1\Mailbox34
MailboxGuid : e4f15e59-9a6d-4feb-a1b3-460778c40338DisplayName : Pattison, Jackie
Database : DC1SERV354\SGR\Mailbox34
MailboxGuid : e4f15e59-9a6d-4feb-a1b3-460778c40338- Are you using the display name when running the restore command? Like so:
Restore-Mailbox -Identity "Pattison, Jackie" -RSGDatabase "DC1SERV354\SGR\Mailbox34" -IncludeFolders "\Foldername" - I have tried with Display Name and with Alias and neither is successful.
I was stuck with this error as well and the correct fullname syntax solved it. 'Smith, John H.' (i tried every version and finally put in the '.' and it worked). You can see the mailbox fullname from get-mailboxstatistics -database rsg\mbx2.