Move Public Folder Content from One Public Folder Database to Another Public Folder Database

 

Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

You can use scripts to move public folders to a different database or server.

Looking for other management tasks related to public folder databases? Check out Managing Public Folder Databases.

Use the MoveAllReplicas.ps1 script to move all public folder content from one server to another server

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

Use the ReplaceReplicaOnPFRecursive.ps1 script to move replicas in a public folder subtree to another server

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 Server01

 © 2010 Microsoft Corporation. All rights reserved.