[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2013-05-30
3
Medium Priority
?
1,740 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 2000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
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…
Suggested Courses

830 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