Solved

Mailbox Restore Request

Posted on 2014-03-13
8
1,628 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
  • 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

What does UTC stand for?  “Coordinated Universal Time” – Think of this as the true time on Planet Earth that never changes with the exception of minor leap seconds here and there to account for the changes in the planet's rotation.   What does th…
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 …
In this video we show how to create an Address List 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 Organization >> Ad…
how to add IIS SMTP to handle application/Scanner relays into office 365.

809 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