Ben Hart
asked on
Exchange 2010 - restore-mailbox 'the specified user couldn't be found'
Long story short.. restored a backed up data base. Followed all the steps to create a recovery database, successfully mounted a clean recovery db. get-mailboxstatistics - database recover displayed the user "Waters, Cliff"
restore-mailbox -identity "Waters, Cliff" -recoverydatabase recovery -recoverymailbox cwaters -targetfolder recovery
The specified user "Waters, Cliff" couldn't be found.
Umm what? Statistics shows the mailbox is there, what am I doing wrong?
Of note: new-mailboxrestorerequest fails at 18%, IDK where to look to determine the reason. But the data I'm looking for is subfolders within teh users Deleted Items folder. I was able to restore the DeletedItems via
new-mailboxrestorerequest -sourcedatabase recovery -sourcestoremailbox 'Waters, Cliff' -targetmailbox cwaters1 -allowlegacydnmismatch -targetrootfolder restore -includefolders 'DeletedItems'
But it was empty... it had teh deleted 2014, deleted 2015 folders that he created inside his Deleted Items however they were all empty.
restore-mailbox -identity "Waters, Cliff" -recoverydatabase recovery -recoverymailbox cwaters -targetfolder recovery
The specified user "Waters, Cliff" couldn't be found.
Umm what? Statistics shows the mailbox is there, what am I doing wrong?
Of note: new-mailboxrestorerequest fails at 18%, IDK where to look to determine the reason. But the data I'm looking for is subfolders within teh users Deleted Items folder. I was able to restore the DeletedItems via
new-mailboxrestorerequest -sourcedatabase recovery -sourcestoremailbox 'Waters, Cliff' -targetmailbox cwaters1 -allowlegacydnmismatch -targetrootfolder restore -includefolders 'DeletedItems'
But it was empty... it had teh deleted 2014, deleted 2015 folders that he created inside his Deleted Items however they were all empty.
ASKER
Nah aliases didn't work either. 'Waters, Cliff", cwaters, cwaters@domain.com, domain\cwaters....
restore-mailbox -identity "Waters, Cliff" -recoverydatabase recovery -recoverymailbox cwaters -targetfolder recoveryLooks like you're doing a restore to the same mailbox. If this is the case you don't specify the -RecoveryMailbox parameter as this is only required when you're doing a restore to a different mailbox.
The specified user "Waters, Cliff" couldn't be found.
Umm what? Statistics shows the mailbox is there, what am I doing wrong?
The description for the RecoveryMailbox parameter on the Restore-Mailbox TechNet page states the following:
The RecoveryMailbox parameter specifies the mailbox to be used as the source mailbox. This parameter is required if the source mailbox is different from the target mailbox.Try running this command instead to perform the restore:
Restore-Mailbox -Identity "Waters, Cliff" -RecoveryDatabase recovery -TargetFolder Recovery
ASKER
Sorry typo, the recpverymailbox is a new user with the upn of cwaters1
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Oh crap that did it! Outstanding.. well no idiot for me not realizing they were swapped, but awesome dude thanks.
Not your fault mate, I blame Microsoft for their poor choice of wording in this case!
Glad I could help.
Glad I could help.
Great work mate, this had me stumped all day today. I followed about 15 different website articles on this and they all had it back to front.
What about trying the mailbox alias instead? With regard to errors, check the Application Log, should be in there.