Exporting and importing data from an Exchange Server is part of the normal routine and day to day job of any Exchange Server admin. Import and Export of Exchange Mailbox to PST can be for various reasons being a disaster or normal routine for the company. The easiest thing is importing an old PST archive into the main or a shared mailbox, or exporting a leaver or an unwanted mailbox to PST for keeping a copy of it.
To export a mailbox to a PST from Exchange Server 2007 there is a process to have a 32-bit operating system with 32-bit Microsoft Office 2003 SP2 installation having also the Exchange Server 2007 32 bit Management Tools installed. There is no graphical interface to export or import in Exchange 2007 and use will have to use PowerShell to do the job.
let see how we can perform the manual way to peform the requirement, we will be going through the native ways on how to export from a live Exchange Server and also will take a look at the best alternatives.
let see how we can perform the manual way to peform the requirement, we will be going through the native ways on how to export from a live Exchange Server and also will take a look at the best alternatives
You can also follow the manuual method from here:
Procedures for mailbox exports to .pst files in Exchange Server
For newer Exchange Servers from 2010 to 2019 you do not have to install anything as the PowerShell cmdlets can be used natively just by opening the Exchange Management Console and running them.
For this task, we will be using the New-MailboxExportRequest and New-MailboxImportRequest to export and import data from our Exchange Server. For the sake of Exchange Server 2007, the commands are slightly different as these are Export-Mailbox and Import-Mailbox.
We must start off by having the right user and the right roles. We must start by creating the role and assign the user to the role. It is recommended to create a group example ExchangeExportAdmins and assign the role to that Active Directory group. If you export the mailbox and you get an error such as below it will be due to a permission issue.
Open the Exchange Management Console and type the following command to create the role.
This will give the user or group the rights to import and export.
Exporting mailboxes to PST
The first step to export a mailbox is to create a share where to store the PST files which are exported. Exchange will not be able to export to a file path example D:\PSTFiles but a network path example \\EX01\PSTFiles. When you share the folder, the Exchange Trusted Subsystem must have read and write permissions on it or else the export will fail.
When this is done we can start exporting the mailboxes by using the New-MailboxExportRequest PowerShell cmdlet as below.
If you have spaces in the mailbox or file path you would need to enclose the entry in the inverted commas
This will start the export process. To see the status of the export you must use the Get-MailboxExportRequest PowerShell cmdlet where it will show failed, completed or in-progress.
This will export the whole mailbox including mail, journal, contacts, tasks and calendar. There are ways to filter out a bit the export by using the below criteria. These options include date limit or date range, folder inclusion and folder exclusion which we will go through below.
To export a mailbox but only exporting a folder or folders you can do this as below using the IncludeFolder parameter. If you are exporting multiple folders, these can be separated with a comma.
You cannot have both include and exclude options in the same export, only one parameter can be used. Another parameter is the date filtering which can be used as a date limit or a date range. For this we must use the ContentFilter parameter as below.
This will export all content from the date 01/01/2019 till today using the GT (Greater Than) option. If you would like to export all data from 01/01/2019 backwards for archiving, you would need to change the GT option to the LT (Less Than) option as below.
There is a small inconvenience as when to export a lot of mailboxes at once as this would incur the setup of a script with a for-each loop in PowerShell which could hinder the performance of your Exchange Server and there is progress or continuity if the process stops.
From the graphical interface in Exchange 2013 onwards, we can export to PST from the EAC itself. After login, click on Mailboxes and highlight the mailbox to export. Click on the … menu button and click on Export to a PST file. The interface can allow you only to export one by one.
Then you need to choose to export the mailbox only or with the archive mailbox as well. Specify the destination which must be a share example \\ex01\PSTFiles. The last part is to select the recipient where the report will be sent after the mailbox has been exported and you will be alerted as well.
Of course the above are all valid if your database and Exchange Server are healthy as there is no native tool that lets you directly export to PST from an EDB.
Importing PST files into Mailboxes
After setting up the file share with the PST files and the correct permissions and role assignment we will need to use the PowerShell cmdlet New-MailboxImportRequest to import our data as below.
When the command has been executed, you can view the progress by using the PowerShell cmdlet Get-MailboxImportRequest as below by having completed, in-progress and failed.
You can import more than one or all the users in one go using a loop as with the export process but with the same repercussions. From the graphical interface in Exchange 2013 onwards, we can import from a PST using the EAC itself. After login, click on Mailboxes and highlight the mailbox to import to. Click on the … menu button and click on Import PST. The interface can allow you only to import one by one.
Enter the network path where the PST resides and click Next. Select the destination and if you want to restore in the mailbox or the archive mailbox, and select the recipient to receive the report. You will also be notified in the alerts of EAC.
All of this is good thou a bit of an administrative effort and a bit annoying with regards to Importing and Exporting Exchange Mailbox to PST, but it will all be futile if your Exchange Server is decommissioned. Stellar Converter for EDB is the best third party EDB to PST Converter tool you can use to export multiple mailboxes from a EDB file to PST. The EDB file can be of any version of Exchange and can export to PST and other formats such as HTML, EML and PDF. The application can also import an EDB directly to a live Exchange Server or an Office 365 tenant making the application the best tool to assist any Exchange Server Admin.