How to: Move folder replicas to another public folder database
How to: Move folder replicas to another public folder database
Another common error to run across when uninstalling Exchange 2010 is the following:
Error: Uninstall cannot continue. Database ‘Public Folder Database 1587193804’: The public folder database “Public Folder Database 1587193804” contains folder replicas. Before deleting the public folder database, remove the folders or move the replicas to another public folder database. For detailed instructions about how to remove a public folder database, see http://go.microsoft.com/fwlink/?linkid=81409&clcid=0x409. Click here for help… http://go.microsoft.com/fwlink/?linkid=30939&l=en&v=ExBPA.14&id=b6e3b32a-8848-46cb-9567-72288ac15f60
I recommend reading the Microsoft site as it is full of information and details. In my case I just wanted to move those public folders to my new Exchange Server so it was too much so here is the summary:
You can use scripts to move public folders to a different database or server. The collection of Shell scripts described in this topic is installed, by default, at <Exchange Installation Path>v14 ServerScripts. ”
C:Program FilesMicrosoftExchange ServerV14Scripts
You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the “Public folders” entry in the Mailbox Permissions topic.
To move all public folders in a public folder database on one server to a public folder database on another server, use the MoveAllReplicas.ps1 script. This script replaces a server with a new server in the replication list for all public folders, including system folders. For more information about using public folder scripts, see Scripts for Managing Public Folders in the Exchange Management Shell.
This example moves all public folder content from Server01 to Server02.
.MoveAllReplicas.ps1 -Server Server01 -NewServer Server02
You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the “Public folders” entry in the Mailbox Permissions topic.
To move all the replicas of a public folder subtree from one server to another server, use the ReplaceReplicaOnPFRecursive.ps1 script. This script adds a new server to the replication list for a public folder and all the folders within that hierarchy. If the server is already listed in the replication list for a folder, nothing is changed for that folder. For more information about using public folder scripts, see Scripts for Managing Public Folders in the Exchange Management Shell.
This example moves the public folder replica Legal and all the folders within that hierarchy from Server01 to Server02.
.ReplaceReplicaOnPFRecursive.ps1 -TopPublicFolder “Legal” -ServerToAdd Server02 -ServerToRemove Server0
Love
Can we use Let's Encrypt, the free and open certificate authority?
Hola! gracias por la info, me sirvió el comando sacandole el nombre del server. En mi caso, fue una migración…
Yes 3rd option helped me too. I removed the WC key Values from config file then started working.
I know this is from 2014. But really, thank you!