Export (0) Print
Expand All

How to Move Public Folder Content from one Public Folder Database to Another Public Folder Database

 

Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007

Topic Last Modified: 2008-01-21

This topic explains how to use the Exchange Management Shell to move public folders to a different database or server.

noteNote:
You cannot use the Exchange Management Console to perform this procedure.
noteNote:
If you are performing this procedure as part of a migration from Exchange Server 2003 to Exchange Server 2007, you can use either Exchange System Manager in Exchange 2003 or the Exchange Management Console in Exchange 2007 to move Exchange 2003 public folders to an Exchange 2007 server. For more information about migrating public folders, see the Microsoft Exchange Team blog article, Moving Public Folder Replicas from Exchange 2000 to Exchange 2007. For more information about removing public folder databases, see Removing Public Folder Databases.

When moving public folders, there are two scenarios to consider:

  • Move all public folder content in a database to a new public folder database   To move all public folders in a public folder database to a new public folder database, 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.

  • Move content in a tree of folders from one server to another   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 that are beneath it in the 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.

To perform the following procedures, the account you use must be delegated the following:

  • Exchange Server Administrator role and local Administrators group for the target server

For more information about permissions, delegating roles, and the rights that are required to administer Microsoft Exchange Server 2007, see Permission Considerations.

  • To move all public folder content from Server01 to Server02, run the following command:

    MoveAllReplicas.ps1 -Server Server01 -NewServer Server02
    

  • To move the public folder called Legal and all of the folders within that hierarchy from Server01 to Server02, run the following command:

    ReplaceReplicaOnPFRecursive.ps1 -TopPublicFolder "\Legal" -ServerToAdd Server02 -ServerToRemove Server01 
    

For detailed syntax and parameter information, see the Set-PublicFolder reference topic.

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft