Solved

Exchange 2007 Export to PST from REcovery Storage Group

Posted on 2008-06-24
3
14,064 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

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
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…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

776 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