Exchange 2007 migration to Exchange 2013

Posted on 2016-09-06
Medium Priority
Last Modified: 2016-09-07
We have an old Exchange 2007 server that is running out of disk space, both on the C: partition and data partition, so much so that a service pack can not be installed to do a proper migration.  Is there a way to back up everyone's PST files, pretend that the EX 2007 server crashed, bring in the EX 2013 server, and then import everyone's PST files?  And does any site have a step by step process to follow this kind of set up?
Question by:fletchman
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
  • 7
  • 3
LVL 31

Accepted Solution

Scott C earned 2000 total points
ID: 41786578
How to export mailboxes to PST with Exchange 2007

Friday, March 11, 2016
4:02 PM

Exchange 2007 Sp1 included a feature that allows mailboxes to be exported to .PST files. This is handy because users can natively open and interact with a PST file in Outlook.
We recently had a need to export 40 mailboxes to PST file and here is what it takes:
What you need
      • 32-Bit Exchange 2007 (SP1) admin tools.
      • Outlook 2007 or higher
      • Permission on the mailboxes
      • Additional storage to compensate for PST bloat (explained below)
      • Some powershell knowledge
      • Time (explained below)
Once you stand up a virtual machine running Outlook and have installed the 32-bit Exchange 2007 (SP1) tools, then you can proceed to the next step of granting yourself permission to the mailboxes that you need to export.
Add-MailboxPermission -Identity userYouWanttoExport -User YourAdminAccount -Accessright Fullaccess -InheritanceType all -Confirm
Then, before running the export command, it is advisable to calculate the size of the PST files that would be generated to insure that you have adequate disk space to accommodate. I found that the resulting PST file is 8.25 percent larger than the mailbox size. So if you have 40 mailboxes, multiply the total size by 8.25% to get the additional size beyond the total mailbox size needed to hold all of the data.
So for example, to get the size of a mailbox you can type:
Get-MailboxStatistics –id ‘John Doe’ | ft displayname, totalitemsize
DisplayName                             TotalItemSize
———–                             ————-
John Doe                          1584624412B
The size is in bytes, this would be a 1.5 GB mailbox. After adding the 8.25% for PST bloat, the resulting exported mailbox for John Doe would be 1.7GB.
Now you’re ready to run the export command by typing the following at an Exchange Management shell prompt:
export-mailbox –id ‘John Doe’ -PSTFolderPath z:\John.Doe.pst
To run this on multiple mailboxes, you can create a text file with a .ps1 extension and add the –confirm:$false command to the end of each line. This will allow the commands to execute in sequence without prompting for conformation. For example, scriptname.ps1 would contain multiple lines like this:
      export-mailbox -id usera -PSTFolderPath z:\usera.pst -Confirm:$false
      export-mailbox -id userb -PSTFolderPath z:\userb.pst -Confirm:$false
      export-mailbox -id userc -PSTFolderPath z:\userc.pst -Confirm:$false
You can then run the script by simply typing scriptname.ps1 at an Exchange Management shell  prompt.
The time it takes to export a mailbox to pst is dependent upon the size of the mailbox being exported, and the speed of the systems and disk subsystem.

From <http://blogs.catapultsystems.com/jstocker/archive/2010/01/27/how-to-export-mailboxes-to-pst-with-exchange-2007/

I did something like this for a customer who buggered up an O365 migration.  I exported all of the mailboxes to .PSTs, copied them to the cloud then imported them into O365.

A suggestion....Why not go to Exchange 2016?  It is basically Exchange 2013 SP2.  You will have a newer product with a longer life.
LVL 31

Expert Comment

by:Scott C
ID: 41786583
I don't know what SP level you are at, but for this to work, you must be on SP1 for Exchange 2007.

Author Comment

ID: 41786584
Ok.  So, doing this will not cause any domain issues, as long as DNS is configured correctly?  Do you know of any articles that help with this?
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

LVL 31

Expert Comment

by:Scott C
ID: 41786585
If you aren't at at least SP1 you will have to find some way to free up space to install the SP.
LVL 31

Expert Comment

by:Scott C
ID: 41786588
No, no domain issues.  But what you will want to do is once you have exported the mailboxes to PSTs, you will want to do an un-install  of Exchange 2007.  Be sure to export any certificates.  Also you will want to make a back up of your server.

Author Comment

ID: 41786589
The SP level is the issue, not SP 1.  I recently took over a network that the last IT just left them, and I'm left to clean up the mess.  I was hoping to just shut down the old EX 2007 (pretend it's dead), and just install the new EX 2013, if possible.
LVL 31

Expert Comment

by:Scott C
ID: 41786597
You don't want to just shut it down because items will be left in AD.  These can cause issues down the road.  For example if/when you want to go to Exchange 2016, it won't install because Exchange 2007 pieces will be left behind.

If you're not at on at least SP1, you won't be able to export to PST from the server.  You'd have to do it manually by going to each machine.

I would not want to do it this way.  Something is sure to be missed.

Author Comment

ID: 41786604
Great feedback.  Thank you!  So it sounds like I need to find a way to get SP1 installed to go forward.
LVL 31

Expert Comment

by:Scott C
ID: 41786615
Once you do have your .PSTs here is the import command.



Anytime.  Glad I can help.

Yes you do.

Some suggestions on getting some more space....add a drive, and move the log files, messaging queue to that drive.

See if there are some log files you can backup and delete.  If they are old enough, you won't need them, but back them up anyways.
LVL 31

Expert Comment

by:Scott C
ID: 41786629
You might as well install SP3.  It will make your system more stable.
LVL 37

Expert Comment

ID: 41786697
fix the space issues first. I have done many offline backups of servers, to either a file share on another file server, or to a USB connected disk, then rebuilt with more disk space and restored the backup.

I would usually use clonezilla for an offline backup.

I would usually replace all of the disks in the server at the same time, so if there was an issue with the backup that was only discovered when restoring, it is possible to go back to the original disks without any data loss.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
Check out this step-by-step guide for using the newly updated Experts Exchange mobile app—released on May 30.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Suggested Courses

762 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