Click to Rate and Give Feedback
TechNet
TechNet Library
Exchange Server
Operations
 How to Move Public Folder Content f...
Collapse All/Expand All Collapse All
How to Move Public Folder Content from one Public Folder Database to Another Public Folder Database

Applies to: 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. 

Bb331970.note(en-us,EXCHG.80).gifNote:
You cannot use the Exchange Management Console to perform this procedure.
Bb331970.note(en-us,EXCHG.80).gifNote:
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.

For more information about public folders, see the following topics:

Community Content   What is Community Content?
Add new content RSS  Annotations
Folders are not moved when transitioning to Exchange 2007 from Exchange 2003      Ramyar ... Thomas Lee   |   Edit   |   Show History

When performing these steps as part of the decommissioning process of Exchange 2003 servers in a new Exchange 2007 environment, the Public folders are never moved, regardless of how long you wait. Additional information is needed on how to proceed if the folders are never moved and what may be the cause of this.

Not all Folders Move Properly      Michael E. McAteer   |   Edit   |   Show History
After following the steps above, I have 3 folder instances stuck after a week. What do we do when this happens?
Flag as ContentBug
I have the same issue.      tuchobeto   |   Edit   |   Show History
I Need to remove replicas from an XCH 2007. We have two EXCH 2007 server, one is being decomissioned. I need to move all replica so I remove the las role (MailBoxes) from the server.
I applied the Move replicas script but I still have some left over, What do we do next?
Tags What's this?: Add a tag
Flag as ContentBug
My result      hvgpostmaster   |   Edit   |   Show History
Create a new public folder on Exch2k7:
New-PublicFolder -Name <name> -Path '\<path>' -Server '<E2k7_name>'
set replication only that server:
Set-PublicFolder "\<path>\<name>" -Replicas '<E2k7_name>\<Public folder store name>'
move all contents to the new folder (with outlook)
(move e-mail addresses, if the PF is mail-enabled)
Remove old PF
rename new PF to old name.
Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker