Solved

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

Posted on 2013-05-30
3
1,643 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
[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 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

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

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

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
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…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

726 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