Solved

Exchange 2007 - export large mailbox data to PSTs using date range

Posted on 2013-05-30
3
1,598 Views
Last Modified: 2013-05-30
Hi there -

I have an Exchange 2007 sp3 environment.  I have a journaling mailbox that is very large (huge).  I'm attempting to export the database (journal mailbox) into date range PSTs so I can import them into an email archiver unit.  I am trying to use this command -

Get-Mailbox -Database 'MDB' | Export-Mailbox -PSTFolderPath D:\PSTs -StartDate 1/1/2010 -EndDate 12/1/2010

I have the Exchange management tools (32-bit) installed on a Windows 7 machine with Outlook 2007 (per the requirement) but am getting errors in the Exchange Management Shell.

Question, does the database have to to mounted in order to use the export tool above?

The error I'm getting indicates it cannot find the database.  I have mapped a network drive to the journal database, so that my command would look something like this -

Get-Mailbox -Database v:\journalstoragegroup\journaldatabase.edb | Export-Mailbox -PSTFolderPath D:\PSTs -StartDate 1/1/2010 -EndDate 12/1/2010

It gives me an error indicating it cannot find the DB.

Can someone tell me what parameters or format I'm missing to start using this tool?
0
Comment
Question by:ASD_IT
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
jbvernej earned 500 total points
ID: 39208401
hello,

YES, the Exchange database  HAS TO BE mounted to do an Export to a PST.
You can ONLY "read" data in EDB file while Information Store 's service is running and database is mounted

-Database can't be a physical path of database file. It must be a logical name from inside Exchange.

If error is database not found, run a simply "Get-MailboxDatabase" to have the exact name of the database (you have made some typo mistake perhaps). And then rerun the command to export.

Here is the syntax documentation from MS:
http://technet.microsoft.com/en-us/library/aa998579%28v=exchg.80%29.aspx
0
 

Author Comment

by:ASD_IT
ID: 39208582
Hi there,


Thank you for your response.  We will mount the database and try again.  Clarifying question on the command, from the Win7 32-bit machine, would the command look more like this -

Get-Mailbox -Database 'journaldatabase.edb' | Export-Mailbox -PSTFolderPath D:\PSTs -StartDate 1/1/2010 -EndDate 12/1/2010

When I issued the command above, it couldn't find the database - I'm wondering if I need to do something like this -

Get-Mailbox -Database 'FQDN_OF_Exchange_Mailbox-server\journaldatabase.edb' | Export-Mailbox -PSTFolderPath D:\PSTs -StartDate 1/1/2010 -EndDate 12/1/2010

Do I need the quotes?
0
 

Author Closing Comment

by:ASD_IT
ID: 39208680
Thank you for your expert help, this information provided was enough for me to get the tool going.

Again - thanks.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Microsoft has released remote PowerShell capabilities to all commercial Office 365 customers. So you can be controlled via PowerShell and not from the Office 365 admin center Download Windows PowerShell Module for Lync Online http://www.micros…
Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

831 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