Solved

step by step details of moving public folder from one exchange2010 server to another 2010 server

Posted on 2013-10-27
12
6,557 Views
Last Modified: 2013-11-14
Recently we moved the mail box role from our existing exchange 2010 SP3, to another new exchange 2010 SP3. Now I need to move the public folder from the old one to the new one. Can someone detail me with step by step?
0
Comment
Question by:Zacharia Kurian
  • 7
  • 4
12 Comments
 
LVL 3

Expert Comment

by:netmaster1355
ID: 39603713
it is not step by step by maybe useful for your desired result.
http://technet.microsoft.com/en-us/library/bb331970%28v=exchg.141%29.aspx

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

Topic Last Modified: 2012-07-23

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

 When to use the scripts


If you're removing the server then you would use the MoveAllReplicas.ps1 script.  That moves the Public and System folders to the new server and removes the old server as a replica.  For example, if you're migrating from 2003 to 2010, then you would run this script when you're ready to remove 2003.  Run this command from 2010 EMS -
C:\Program Files\Microsoft\Exchange Server\v14\Scripts\MoveAllReplicas.ps1 -Server <2003 Server> -NewServer <2010 Server>
To verify this worked, use Exchange 2003 ESM and look under the public folder store\Public Folder Instances.  This will show you what has not been moved yet (could take hours/days).  Once this is empty, you can move to the next steps of removing that server.
As for the AddReplicaToPFRecursive.ps1 script, this script is used if you are adding another PF database to the environment and you want to replicate all PF data from the existing server to the new server so that you have a redundant copy.  An example of this would be when you only have one 2010 server hosting a public folder database and you add a second 2010 server with a public folder database.  You'd run this command from 2010 EMS -
C:\Program Files\Microsoft\Exchange Server\v14\Scripts\AddReplicaToPFRecursive.ps1 -Server <Existing 2010 Server> -TopPublicFolder "\" -ServerToAdd <New 2010 Server>  
The end result would be two Exchange 2010 servers with the same PF data replicating between them.
0
 
LVL 9

Author Comment

by:Zacharia Kurian
ID: 39603722
Well, I had read all these so called stuff but nothing helped me much. Let me explain what I have done;

1. Created a new PF on the new server.
2. Executed .\MoveAllReplicas.ps1 -Server Server01 -NewServer Server02, from the old server's EMS.

Waited for a quite along time and checked if the replication was done or not by using;

Get-PublicFolderDatabase

Get-PublicFolderStatistics -Server

But still nothing is been replicated to the new server's PF.

Has some one did the same scenario?
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 39603788
Let me ask you few things .... after you ran the .\MoveAllReplicas.ps1 did you check if the new server was in the replication tab ?

Is Mail flow working between both servers ? as if not PF replication wont work at all
Is the Hierarchy replicated ?
What is the replication interval ?
What is the PF database size on old and on the new server ?

- Rancy
0
 
LVL 9

Author Comment

by:Zacharia Kurian
ID: 39603809
Please find the answers below in order;

yes the new server was in the replication tab (but the old server wasn't there. is it normal?) Please find the attached.

The mail flow is working fine (last night moved all the mailbox to the new one and removed those soft deleted Mailboxes from the old server).

Yes, I did it manually from the PF Management Console.

replication is set always run.

the total PF  size is 260 MB only on both servers.
screen-shot.jpg
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 39604055
I would suggest always AddPFreplica and once confirmed RemovePFReplica ..... keeps both servers inline and once moved you can remove the old PF .... Move is more like a push from Old->New

So you say the PF size is same on Old and New ? If so isnt the data on New if not run the Add let it add and then replicate

- Rancy
0
 
LVL 9

Author Comment

by:Zacharia Kurian
ID: 39604075
bit confused; could you please just detail with the appropriate scrip?

the old server name is srv1 and the new server name is srv2. lets say, running command from srv1 as;

AddReplicaToPFRecursive.ps1 –Server srv1 –TopPublicFolder “” -ServerToAdd srv2.

But I believe using .\MoveAllReplicas.ps1, should do the job. Is it?

awaiting for your feed backs...
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 39604089
Move all replica is a double process where it adds new server pushes for replication and removes the old server .... what your saying is what i have heard so always go safer way even if it takes me sometime

- Rancy
0
 
LVL 9

Author Comment

by:Zacharia Kurian
ID: 39604804
tried most of the work around but still the nothing updated on the new mail box server!

Can some one throw me a light?
0
 
LVL 9

Accepted Solution

by:
Zacharia Kurian earned 0 total points
ID: 39605256
finally I got worked. Enabled logging for the PF replication and found that the old ex2003 server container was still active. Used adsi edit and removed the legacy ex2003 container.

We had the existing ex2010, migrated from old ex2003.
0
 
LVL 9

Author Comment

by:Zacharia Kurian
ID: 39626565
Expert Admins,

Please close this question and refund the points, since I have found the solution by myself.

Thank you.
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 39627010
You can yourself close the post and mark your answer as Solution or Delete as well

- Rancy
0
 
LVL 9

Author Closing Comment

by:Zacharia Kurian
ID: 39647410
Enabled logging for the PF replication and found that the old ex2003 server container was still active. Used adsi edit and removed the legacy ex2003 container.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now