Help Moving a MailBox
Hi All, I'm new to managing exchange and I have hit a snag. Our environment is Exchange 2007 SP2 on Win Server 2003. I'm moving mailboxes from one exchange 2007 SP2 mailbox database to another exchange 2007 SP2 mailbox database in the same forest and LAN. On one users mailbox, using Move-Mailbox or the EMC move mailbox wizard, it gets stuck on calendar items and I have to cancel the move. I have tried the baditemlimit setting and it still gets stuck. I want to export the mailbox from one server mailbox database and import the mailbox into the other server mailbox database but I'm confused on how to do that. The documentation on Export-Mailbox has me confused because I do not see how the existing account is actually moved. Can someone help me with the proper powershell commands? Or if you know of another way then please let me know. THANKS!
April 19th, 2012 3:01pm

You may have to resort to running isinteg and or defragging the DB as well. If the mailbox or DB is corrupted you can run into these issues. But what I would do first is update your Exchange server to SP3 roll up 5 then try the mailbox move again. Released: Update Rollup 5 for Exchange Server 2007 SP3 http://blogs.technet.com/b/exchange/archive/2011/09/22/released-update-rollup-5-for-exchange-server-2007-sp3.aspxJames Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
April 19th, 2012 3:09pm

Hi, Updating to SP3 rollup 5 is not an options at this time. I was hoping to use Export-Mailbox -identity user@domain.com -pstfolderpath C:\userPST.pst and then Import-Mailbox -identity user@domain.com -pstfolderpath C:\userPST.pst But I don't know how to move or recreate the existing (user@domain.com) mailbox on the new server database. I understand the Move-Mailbox basically copies the mailbox from one location to another and then updates the directory information to point to the new mailbox. How can I accomplish this if Move-Mailbox cannot complete? Is there a way to use Export-Mailbox and Import-Mailbox to accomplish this? Can I export just the calendar items to a pst and then use move-mailbox and exclude the calendar items? If so, does this work well or is it suggested? Thanks!
April 20th, 2012 10:21am

Sure you can also export to a pst then import into the newly created mailbox on the new server. "But I don't know how to move or recreate the existing (user@domain.com) mailbox on the new server database" What you would have to do is delete the mailbox, right click the user, and choose disable. Then will disassociate the mailbox with the user. Then you choose new mailbox, user mailbox, existing user and choose the user whos mailbox you just deleted. Once you finish the user has a blank mailbox. Then after that you import the pst. "Can I export just the calendar items to a pst and then use move-mailbox and exclude the calendar items?" Yes that is another option, if the calendar is the culprit causing the mailbox move failure, you can export it out to pst then delete it then try to move the mailbox. Export-Mailbox user1 -IncludeFolders \Calendar -pstfolderpath C:\userPST.pst -deletecontent James Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
April 20th, 2012 10:42am

Thanks for the reply James! What will happen to the user's .ost if I delete the mailbox and create a new mailbox for them? What will happen if outlook is open and connected on the user's local machine, if I delete/create the mailbox or Export-Mailbox -deletecontent?
April 20th, 2012 10:51am

You will need to create a new profile for him, the ost is dead because the ost is tied to the original mailbox using encryption keys. Since you will be creating a new mailbox the original OST is null. If you run the export-mailbox with the -delete what he will see is all his items start dissappearing and will have an empty mailbox. Make sure you open the pst first to validate there is data in there before you disable the mailbox. Worst case you can recover the mailbox since it's not hard deleted yet and will still exists in the retention.James Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
April 20th, 2012 10:59am

If you have not deleted the mailbox in the source server, try the below. 1. As James suggested (Exchange Management Shell 32bit) Export-Mailbox user -IncludeFolders \Calendar -PSTFolderPath C:\userPST.pst -deletecontent 2. To move the mailbox excluding the Calendar folder. Move-Mailbox user -TargetDatabase NewMailboxDatabase -ExcludeFolders \Calendar 3. Import the calendar folder from the PST file into the mailbox in the new server. (Exchange Management Shell 32bit) Import-Mailbox user -IncludeFolders \Calendar -PSTFolderPath C:\userPST.pst If this works you need not recreate the outlook profile. Creating a new mailbox will be fine but it will create a new GUID for the mailbox(This is unique & will not be same as the old) and if in case you restore an old backup to merge the mailbox it will not help. Otherwise it is ok. Thanks! Bennett J.DavisThank You! Bennett J.Davis
April 22nd, 2012 4:20am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics