Solved

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

Posted on 2015-02-12
8
251 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 31

Expert Comment

by:Gareth Gudger
ID: 40606612
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
ID: 40606699
Nah aliases didn't work either. 'Waters, Cliff", cwaters, cwaters@domain.com, domain\cwaters....
0
 
LVL 24

Expert Comment

by:VB ITS
ID: 40606916
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
ID: 40606923
Sorry typo, the recpverymailbox is a new user with the upn of cwaters1
0
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 24

Accepted Solution

by:
VB ITS earned 500 total points
ID: 40606948
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
ID: 40612860
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
ID: 40613061
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
ID: 41455658
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

896 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

16 Experts available now in Live!

Get 1:1 Help Now