Improve company productivity with a Business Account.Sign Up


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.
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

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.

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article involves a discussion about issues people have when it comes to Client Access in relating to Load Balancing in an Exchange environment which we had ourselves, along with a solution I found to the problem.
Are you working to mount the dismounted Exchange 2013 database? Then the best course of action is to analyze the causes of Database issue, their probable solutions and decide for the appropriate course of action.
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…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

595 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