Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Exchange 2007 Export to PST from REcovery Storage Group

Posted on 2008-06-24
3
Medium Priority
?
14,235 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
Trinity99 earned 1000 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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
Are you an Exchange administrator employed with an organization? And, have you encountered a corrupt Exchange database due to which you are not able to open its EDB file. This article will explain all the steps to repair corrupt Exchange database.
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…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

715 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