?
Solved

Mailbox Restore Request

Posted on 2014-03-13
8
Medium Priority
?
1,738 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
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
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 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
This article describes how to import Lotus Notes Contacts into Outlook 2016, 2013, 2010 and 2007 etc. with a few manual steps. You can easily export and migrate Lotus Notes contacts into Microsoft Outlook without having to use any third party tools.
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…
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…
Suggested Courses
Course of the Month14 days, 16 hours left to enroll

771 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