• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1816
  • Last Modified:

Mailbox Restore Request

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
Addy Nadia
Asked:
Addy Nadia
  • 5
  • 3
1 Solution
 
chlebiTeam Leader IT InfrastructureCommented:
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
 
chlebiTeam Leader IT InfrastructureCommented:
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
 
Addy NadiaExpertAuthor Commented:
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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
chlebiTeam Leader IT InfrastructureCommented:
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
 
Addy NadiaExpertAuthor Commented:
Please tell another query...that i have asked i need with restore create one folder in user mailbox that contain all restore data
0
 
chlebiTeam Leader IT InfrastructureCommented:
See cmdlet syntax above...

Just add TargetRootFolder <String> option:
New-MailboxRestoreRequest –SourceDatabase “Recovery Database” –SourceStoreMailbox “Displayname” –TargetMailbox target.alias –AllowLegacyDNMismatch -TargetRootFolder "RestoredData"
0
 
Addy NadiaExpertAuthor Commented:
Many Thanks...Perfect..

You rock Man !!
0
 
chlebiTeam Leader IT InfrastructureCommented:
Welcome :)
0

Featured Post

Independent Software Vendors: 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!

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now