Download exchange mailboxes

IT_Fanatic
IT_Fanatic used Ask the Experts™
on
We have a customer who’s exchange on premises server has been decommissioned and have been on office 365 for 6 years.

I need to get emailed from several users on the old server. How do I go about this? The server is online all
I did was just Disable All exchange services when we went live on 365.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Daryl GawnSystem Administrator

Commented:
what version of exchange is the on premise? you could possibly export the whole mailboxes to PSt via powershell but you will need to start some services to get the mailbox data.

Is it a VM? if so and you have access to the console you could disconnect the network , connect to the console and start at least the information store (may need other services)
System Administrator
Commented:
there is possibly 3rd party tools you can use for this as well but you will most likely need to pay for them. I havent used any so cant recommend any sorry but im sure there are plenty of people on here that can

Author

Commented:
Exchange 2010 standard. It's on a VM. I rather a third party tool if it's easier. If not the normal Microsoft way is fine for me.
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Daryl GawnSystem Administrator

Commented:
the powershell command if you going to do the MS way is
New-MailboxExportRequest -Mailbox ITFanatic -FilePath "\\SERVER01\PSTFileShare\ITFanatic.pst"                           

Open in new window


make sure you have full permissions to the share where you dump it otherwise the command fails

the share can be on the local server
AlanConsultant

Commented:
Hi,

I would consider exporting *all* the mailboxes to PSTs while you are at it, then you can archive those PSTs in case you ever need to do the same again.

To do that from PowerShell (I would recommend against using any third-party tools on an Exchange Server ever):

ForEach ($MailBox in (Get-Mailbox)) { New-MailboxExportRequest -Mailbox $MailBox -FilePath "\\Backupserver\PSTs\$($MailBox.Alias).pst" -BadItemLimit 50 -AcceptLargeDataLoss ;while ((Get-MailboxExportRequest -mailbox $MailBox | ? {$_.Status -eq “Queued” -or $_.Status -eq “InProgress”})) { Sleep 180 } }

Open in new window


The 'Sleep 180' is a three minute pause between each export - I have had problems in the past running them without a gap.

Change the location (\\BackupServer\PSTs\) to whatever suits, but make sure you have plenty of space there (I normally go for at least twice the size of the total mailboxes as reported by Exchange).

You can go without the '-BadItemLimit 50' and '-AcceptLargeDataLoss' but you'll probably have errors - I usually go with them, and if I want to be really sure, I run it twice to have two separate backups to archive.

All the usual caveats about requiring sufficient permissions at all points in the process of course.

Depending on the volume of data / emails, it might take a long time, but usually I don't care, I just set it off and let it run over a weekend or whatever.

Hope that helps,

Alan.

Author

Commented:
Which services do I need to turn on since I have them all disabled?
AlanConsultant

Commented:
I would pull the network cable from the machine, re-enable all the services you disabled, reboot, run the above command, then disable the services again, reboot again, and plug in the network cable while it restarts.

Alan.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial