Solved

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

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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…
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now