Link to home
Start Free TrialLog in
Avatar of Ben Hart
Ben HartFlag for United States of America

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.
Avatar of Gareth Gudger
Gareth Gudger
Flag of United States of America image

Hey Ben,

What about trying the mailbox alias instead? With regard to errors, check the Application Log, should be in there.
Avatar of Ben Hart

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 recovery
The specified user "Waters, Cliff" couldn't be found.

Umm what?  Statistics shows the mailbox is there, what am I doing wrong?
Looks 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 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

Open in new window

Sorry typo, the recpverymailbox is a new user with the upn of cwaters1
ASKER CERTIFIED SOLUTION
Avatar of VB ITS
VB ITS
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
Avatar of Andrew_Cross
Andrew_Cross

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.