• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1954
  • 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
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

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