Solved

Exchange 2007 Export to PST from REcovery Storage Group

Posted on 2008-06-24
3
14,096 Views
Last Modified: 2012-06-21
Hi
I created recovery storage group and restore of a database into the RSG.
After that I what to export a single mail box from that RSG database to a PST file.
Therefore I add permission to the recovery database with AdPermission. This completed successfully.
Then I used the Export Mailbox and I receive this error:

Export-Mailbox : The input object cannot be bound to any parameters for the com
mand either because the command does not take pipeline input or the input and i
ts properties do not match any of the parameters that take pipeline input.
At line:1 char:102
+ get-mailboxdatabase -identity "SRV-Exchange\Recovery Storage Group\Mailbox Da
tabase" | Export-Mailbox  <<<< -Identity "fvaltulini" -PSTFolderPath "D:\fvaltu
lini.pst"

What is the problem. I can export single files from the First Storage Group.

get-mailboxdatabase -identity "SRV-Exchange\Recovery Storage Group\Mailbox Database"  | Add-ADPermission -user "domain\ExchangeAdmin" -ExtendedRights Receive-As
 
 
get-mailboxdatabase -identity "SRV-Exchange\Recovery Storage Group\Mailbox Database" | Export-Mailbox -Identity fvaltulini -PSTFolderPath D:\fvaltulini.pst

Open in new window

0
Comment
Question by:jesaja
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
Trinity99 earned 500 total points
ID: 21856033
you cannot extract directly from RSG Database.
Create a new Mailbox and restore content to it and export it then to PST:

Restore-Mailbox -Identity newMailbox -RSGDatabase "Recovery Storage Group\My Database" -RSGMailbox mailboxToRecover -TargetFolder "something"

From Technet:
The TargetFolder parameter specifies the mailbox folder that will be created on the mailbox specified. This parameter is required if the mailbox being restored is different from the mailbox in the recovery storage group. (For example, the value specified with the Identity parameter is not the same as the value specified with the RSGMailbox parameter.) In this case, the Restore-Mailbox cmdlet will perform a merge. If the values are the same, the TargetFolder parameter is not required.
0
 
LVL 7

Author Comment

by:jesaja
ID: 21857644
Hi Trinity99

I tested the Restore-Mailbox command and it worked ok. But I still do have some issues with those commands.

When I use the command for the First Storage Group "Export-Mailbox -Identity fvaltulini -PSTFolderPath D:\fvaltulini.pst" with the "Get-mailboxdatabase -identity "SRV-Exchange\First Storage Group\Mailbox Database" then I get the same error.
Is this command (Export Mailbox") not compatible with Get-mailboxdatabase command?

In Mailbox Role I can have several Storage Groups and Mail Databases. How can I export from a specific Mail Database/Storage Group. I understood that I cannot export from RSG.

Hope I explained understandable

regards

0
 
LVL 7

Author Closing Comment

by:jesaja
ID: 31470144
Did not answer  my next question
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
Read this checklist to learn more about the 15 things you should never include in an email signature.
To show how to create a transport rule 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 Mail Flow >> Rules tab.:  To cr…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

828 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