Solved

Exchange 2007 Export to PST from REcovery Storage Group

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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
To show how to generate a certificate request 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 Servers >> Certificates…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses
Course of the Month4 days, 5 hours left to enroll

630 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