We help IT Professionals succeed at work.

Download exchange mailboxes

IT_Fanatic
IT_Fanatic asked
on
91 Views
1 Endorsement
Last Modified: 2018-10-18
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

Daryl GawnSenior Infrastructure Engineer
CERTIFIED EXPERT

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)
Senior Infrastructure Engineer
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

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.
Daryl GawnSenior Infrastructure Engineer
CERTIFIED EXPERT

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
CERTIFIED EXPERT

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
CERTIFIED EXPERT

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.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.