• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 9131
  • Last Modified:

Move public folder database from one Exchange 2007 server to another Exchange 2007 server


I am looking for solutions or advice on the best way to move a public folder from one Exchange 2007 server to another Exchange 2007 server both on the same Active Directory forest.  We are trying to remove dependancies from the first server so that we can physically move it overnight (without user interruption) to where the secondary server is, and this is the last dependancy.  I do not need migration details pertaining to Exchange 2003 or legacy migrations, this is from 2007 to 2007.

Thanks in advance for your input and ideas.
  • 2
  • 2
1 Solution
There are two methods in th KB article:

Method 1: Use the MoveAllReplicas.ps1 script
You can use the MoveAllReplicas.ps1 script to change the server in the replica list for all public folders to another server. Move to the command prompt at the Exchange Command Shell, and then use the script. To do this, follow these steps: 1. Click Start, point to All Programs, point to Exchange Server 2007, and then click Exchange Management Shell.
2. At the MSH prompt, change to the following folder:
Drive_Letter:\Program Files\Microsoft Exchange Server\Scripts
3. Run the following command:
MoveAllReplicas.ps1 -Server Source_Server_Name NewServer Target_Server_Name
Note The source server must be an Exchange 2007 mailbox server that contains a public folder store. The target server must be an Exchange server that contains a public folder store.

Method 2: Use Exchange System Manager in Exchange 2003
If you are running Microsoft Exchange Server 2003 in the organization, you can move the replicas from the Exchange System Manager in Exchange 2003. To do this, follow these steps:1. Start Exchange System Manager.
2. Expand Administrative Groups, expand First Administrative Group, expand Servers, and then expand the Exchange Server 2007 object.
3. Expand First Storage Group, right-click the appropriate public folder store, and then click Move All Replicas.
4. In the Move All Replicas dialog box, click the Exchange server to which you want to move the replicas, and then click OK.
ClearwindsAuthor Commented:
I am not removing the 1st exchange 2007 server.  I do however want to move its public folders over to the 2nd Exchange 2007 server.  I am not sure if I will remove public folder capability from server 1.  

Ultimately the goal is after server 1 has no dependancies, then it will be powered off, and moved to the facility where server 2 is.  

So the first step is to create a public folder database on server 2, then run that script to move the data to that database?  Does it already have to be set as a replica of each data folder prior to running the script?
Yes, you just need a public folder database on the other Exchange server.  The script will effectively move all public folder content from one server to another.  If you want to move a tree of folders, then the more traditional method is used.
More info here:-
Standard disclaimer: As with anything like this - full backup should definately be done first!
ClearwindsAuthor Commented:
Great I will try that and if it works I will award points.
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

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now