Solved

Exchange 2007 Export to PST from REcovery Storage Group

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Easy CSR creation in Exchange 2007,2010 and 2013
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…
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

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now