Go Premium for a chance to win a PS4. Enter to Win


Exchange 2010 to 2013 Public Folder migration

Posted on 2015-02-05
Medium Priority
Last Modified: 2015-04-26
I am currently attempting to migrate public folders from Exchange 2010 to Exchange 2013. I have kicked off the migration with the following command ;
New-PublicFolderMigrationRequest -SourceDatabase (Get-PublicFolderDatabase -Server EXCHANGE) -CSVData (Get-Content C:\PFs\PFFolderToMailbox.csv -Encoding Byte) -AcceptLargeDataLoss -BadItemLimit 10000

[where pffoldertomailbox.csv contains the folder path to a single mailbox called PFMailbox]

I originally had some issues with spaces in the PF names which I resolved by using adsiedit to remove these unwanted characters from the mailboxnickname.

After running the above command the migration becomes stuck at 15% and I see the same error looping. I have for now cancelled the migration request.

Output is in the attached text filepftranserror.txt
Question by:Crown_Decc
  • 5
  • 2

Author Comment

ID: 40593562
I have now raised a MS support call for this issue. I will update this with the solution when the problem is resolved which may be another week.
LVL 31

Expert Comment

by:Gareth Gudger
ID: 40596498
Sounds like the source (2010) Public Folder database is corrupted or down. I assume it is mounted?

You may want to run New-PublicFolderDatabaseRepairRequest command on the 2010 server to check for corruption.

More info on that command here.

Author Comment

ID: 40597844
Thanks for the response Gareth.

I ran an online repair that found a few minor issues and repaired them and then ran the offline repair over the weekend which found no issues. There are oddities in the event log however ;

Information Store (3700) CrownE-2010 Public Folders: Database 'C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\CrownE-2010 Public Folders\CrownE-2010 Public Folders.edb': While attempting to move to the next or previous node in a B-Tree, the database engine skipped over 134565 non-visible nodes in 325 pages. It is likely that these non-visible nodes are nodes which have been marked for deletion but which are yet to be purged. The database may benefit from widening the online maintenance window during off-peak hours in order to purge such nodes and reclaim their space. If this message persists, offline defragmentation may be run to remove all nodes which have been marked for deletion but are yet to be purged from the database.
      Name: MSysObjects
      Owning Table: MSysObjects
      ObjectId: 2
      PgnoRoot: 4
      Type: 2
      Unversioned Deletes: 134565
      Uncommitted Deletes: 0
      Committed Deletes: 0
      Non-Visible Inserts: 0

This is a little beyong my knowledge but looks to me like Exchange believes that the public store has been deleted at some point. I can confrm that it is up, mounted and can be connected to and read without issue. Will continue this with MS Support this morning.
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

LVL 31

Expert Comment

by:Gareth Gudger
ID: 40598261
It may be worth running an offline defrag against the Public Folder Database.

You will need to dismount it and run ESEUTIL /D. More info here. http://support.microsoft.com/kb/328804?wa=wsignin1.0

Also, are you performing a regular full backup against the public folder database? Any problems when you do a backup of it?

Antivirus can also cause some strange results. Do you have antivirus installed on either the source or destination server? If so, we need to make sure you have all the relevant exceptions in place.

Author Comment

ID: 40607587
Upate - Ran an offline Defrag which found no problems within the database itself.  Regular full backups via BackupExec (with the exchange module) take place each evening with no issues.

Another thing of note is that this data has been upgraded through each Exchange release since it's original format in Exchange 5.5. I would be suprised if there wasn't some old or misconfigured entries left behind in AD.

Next action - I will be attempting to export the contents of the public folders to .pst file and import that into the new PF mailbox. I intend to do this Tomorrow (Saturday 14th Feb). Will report back how it pans out.

Accepted Solution

Crown_Decc earned 0 total points
ID: 40737449
Updating this with resolution

We used one of our gold partner microsoft calls in order to get this resolved. We did not get a satisfactory answer as to why the recommended method to move this public folder failed. No corruption was ever found so none the wiser.

In the end we exported the public folder to .pst, created the new PF mailbox and imported the .pst. We then had to reapply the permissions to the folders as these were not correctly carried over.

Author Closing Comment

ID: 40744671
Answer provided by Microsoft support call.

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

Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
Steps to fix “Unable to mount database. (hr=0x80004005, ec=1108)”.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Suggested Courses

927 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