Solved

Mailbox Restore Request

Posted on 2014-03-13
8
1,684 Views
Last Modified: 2014-03-13
Hi Team,

Need help in this.

When i Restore the Mailbox from Recovery database using below command, i am using the string to restore it to Discovery Mailbox.

Now here i dont want to use, it to restore in discovery mailbox. I want the restore of mailbox done from that Recovery database to directly user mailbox..

please ammend the below command :

New-MailboxRestoreRequest –SourceDatabase “Recovery Database” –SourceStoreMailbox “Displayname” –TargetMailbox "Discovery Search Mailbox” –AllowLegacyDNMismatch
 

Please help in above command so that restore will directly done in User Mailbox.

Thanks
Andy
0
Comment
Question by:Addy Nadia
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 6

Expert Comment

by:chlebi
ID: 39926796
Just put the target mailbox alias in the command instead of the "Discovery Search Mailbox” part.
New-MailboxRestoreRequest –SourceDatabase “Recovery Database” –SourceStoreMailbox “Displayname” –TargetMailbox target.alias –AllowLegacyDNMismatch where target.alias is the SMTP alias of the target user mailbox.
0
 
LVL 6

Expert Comment

by:chlebi
ID: 39926798
Full cmdlet syntax:
New-MailboxRestoreRequest -SourceDatabase <DatabaseIdParameter> -SourceStoreMailbox <StoreMailboxIdParameter> -TargetMailbox <MailboxOrMailUserIdParameter> [-AllowLegacyDNMismatch <SwitchParameter>] [-AssociatedMessagesCopyOption <DoNotCopy | MapByMessageClass | Copy>] [-ConflictResolutionOption <KeepSourceItem | KeepLatestItem | KeepAll>] [-ExcludeDumpster <SwitchParameter>] [-ExcludeFolders <String[]>] [-IncludeFolders <String[]>] [-SourceRootFolder <String>] [-TargetIsArchive <SwitchParameter>] [-TargetRootFolder <String>] [-AcceptLargeDataLoss <SwitchParameter>] [-BadItemLimit <Unlimited>] [-BatchName <String>] [-CompletedRequestAgeLimit <Unlimited>] [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-LargeItemLimit <Unlimited>] [-Name <String>] [-Priority <Lowest | Lower | Low | Normal | High | Higher | Highest | Emergency>] [-SkipMerging <SkippableMergeComponent[]>] [-Suspend <SwitchParameter>] [-SuspendComment <String>] [-WhatIf [<SwitchParameter>]] [-WorkloadType <None | Local | Onboarding | Offboarding | TenantUpgrade | LoadBalancing | Emergency | RemotePstIngestion | SyncAggregation>]
0
 
LVL 5

Author Comment

by:Addy Nadia
ID: 39926828
Are you sure...the source store mailbox is same and target mailbox is same..wont fail??..if this is also correct then also suggest to create one folder like recovered items folder will be created in the user mailbox and all data get recovered in that mailbox ???
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 6

Expert Comment

by:chlebi
ID: 39926842
Should work... Exchange will determine the target database from the target user mailbox in a same way as if you do for instance new-mailboximportrequest -mailbox alias.
Give it a try...
As you can see above in the full cmdlet syntax there is no option to specify target database. Exchange knows where his mailboxes are :-).
0
 
LVL 5

Author Comment

by:Addy Nadia
ID: 39926995
Please tell another query...that i have asked i need with restore create one folder in user mailbox that contain all restore data
0
 
LVL 6

Accepted Solution

by:
chlebi earned 500 total points
ID: 39927341
See cmdlet syntax above...

Just add TargetRootFolder <String> option:
New-MailboxRestoreRequest –SourceDatabase “Recovery Database” –SourceStoreMailbox “Displayname” –TargetMailbox target.alias –AllowLegacyDNMismatch -TargetRootFolder "RestoredData"
0
 
LVL 5

Author Closing Comment

by:Addy Nadia
ID: 39927661
Many Thanks...Perfect..

You rock Man !!
0
 
LVL 6

Expert Comment

by:chlebi
ID: 39927717
Welcome :)
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

728 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