Solved

Exchange 2010 - restore-mailbox 'the specified user couldn't be found'

Posted on 2015-02-12
8
237 Views
Last Modified: 2016-02-08
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.
0
Comment
Question by:Ben Hart
8 Comments
 
LVL 30

Expert Comment

by:Gareth Gudger
Comment Utility
Hey Ben,

What about trying the mailbox alias instead? With regard to errors, check the Application Log, should be in there.
0
 
LVL 14

Author Comment

by:Ben Hart
Comment Utility
Nah aliases didn't work either. 'Waters, Cliff", cwaters, cwaters@domain.com, domain\cwaters....
0
 
LVL 24

Expert Comment

by:VB ITS
Comment Utility
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

0
 
LVL 14

Author Comment

by:Ben Hart
Comment Utility
Sorry typo, the recpverymailbox is a new user with the upn of cwaters1
0
Free book by J.Peter Bruzzese, Microsoft MVP

Are you using Office 365? Trying to set up email signatures but you’re struggling with transport rules and connectors? Let renowned Microsoft MVP J.Peter Bruzzese show you how in this exclusive e-book on Office 365 email signatures. Better yet, it’s free!

 
LVL 24

Accepted Solution

by:
VB ITS earned 500 total points
Comment Utility
OK I just re-looked at your initial command and I think I found the problem.

You need to specify the target mailbox in the -Identity parameter and the source mailbox (the one we're restoring from) in the -RecoveryMailbox parameter. See this example from the same Technet article linked previously:
EXAMPLE 2

This example restores John's mailbox content into Scott's mailbox under the Recovery folder.

Restore-Mailbox -Identity Scott -RecoveryDatabase MyRecoveryDatabase -RecoveryMailbox John-TargetFolder Recovery
Bad syntax on Microsoft's part I'd say as I can see how that would confuse people. I recall running into this same problem a few weeks back when I had to do a mailbox restore myself.
1
 
LVL 14

Author Comment

by:Ben Hart
Comment Utility
Oh crap that did it! Outstanding.. well no idiot for me not realizing they were swapped, but awesome dude thanks.
0
 
LVL 24

Expert Comment

by:VB ITS
Comment Utility
Not your fault mate, I blame Microsoft for their poor choice of wording in this case!

Glad I could help.
0
 

Expert Comment

by:Andrew_Cross
Comment Utility
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.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Utilizing an array to gracefully append to a list of EmailAddresses
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now