How to move Public folder database from one server to another server in exchange server 2010 RRS feed

  • General discussion

  • Any one can help me, how to move exchanger server 2010 public folder database from one server to another server,
    Tuesday, November 22, 2011 1:37 PM

All replies

  • Hi,

    Create a new public folder database on the second server and then use the moveallreplicas cmdlet to move the folders.


    Tuesday, November 22, 2011 2:15 PM
  • And perhaps, change the default PF database on all mailbox databases. Also if the offline address book is distributed via PF, this must be changed too (but it cant be done by command, you wil have to disable PF distribution, delete old FP store and than reenable it again).


    Tuesday, November 22, 2011 2:21 PM
  • i used this command

    .\MoveAllReplicas.ps1 -Server Server1 -NewServer server2


    but shell is showing unauthorized command,

    Wednesday, November 23, 2011 8:14 AM
  • hi,

    here is a good step by step article by Pete.



    Mumin CICEK | www.cozumpark.com | Please click Vote As Helpful if it is helpful for you and Propose as Answer!!!
    Wednesday, November 23, 2011 8:40 AM
  • Yeah thanks for link, but i have to move PF in exchange server 2010 from one server to another server
    Sharad Singh | My blogs: SharadTech | Twitter: @MrLucknowWale |
    Wednesday, November 23, 2011 10:28 AM
  • Hi,

    "but shell is showing unauthorized command"

    That means that you don't have the proper permissions to perform the procedure.

    Which Exchange groups is the account you are using member of?


    Wednesday, November 23, 2011 10:39 AM
  • i have all admin rights, and also m trying from script folder, then i run moveallreplicas script run with power shell but nothing is happening and PF folder database not moving,

    please any one suggest me the whole process step by step, m using ecxhange 2010

    Sharad Singh | My blogs: SharadTech | Twitter: @MrLucknowWale |
    Thursday, November 24, 2011 5:41 AM

  • see what error m getting, when i run the command moveallreplicas.ps1 server Server1 Newserver server2
    Sharad Singh | My blogs: SharadTech | Twitter: @MrLucknowWale |
    Thursday, November 24, 2011 11:52 AM
  • Hi,

    Try the following from the scripts folder:

    .\MoveAllReplicas.ps1 -Server Server01 -NewServer Server02

    (remark the .\ in front of the move)


    Thursday, November 24, 2011 12:19 PM
  • And Leif,

    how can i verify PF has been moved to destination server.

    Sharad Singh | My blogs: SharadTech | Twitter: @MrLucknowWale |
    Thursday, November 24, 2011 3:17 PM
  • Hi,

    Look at the management shell approach in this article



    Thursday, November 24, 2011 3:26 PM
  • Set a script directory

    Cd program files>microsoft>exchange server>v14>scripts

    then execute the command .\MoveAllReplicas.ps1 -Server Server1 -NewServer server2

    after executing that command your public folder will move, for verification you have to run another command 

    Get-PublicFolderStatistics -Server <server with public folder database to be removed>

    if that will show nothing means your public folder has been moved to another server, and for check run this command too


    Get-PublicFolder –Identity '\' –Recurse | Where {$_.Name –eq 'Exchange 2010'} | Format-List


    Sharad Singh | My blogs: SharadTech | Twitter: @MrLucknowWale |
    Friday, November 25, 2011 7:11 AM
  • I am new here so please help me in detail, I have run  .\MoveAllReplicas.ps1 -Server Server1 -NewServer server2 successfully and i have checked all replicas have been point to new server but Replication did not start, i was waiting for 24 hours but public folders are still on old server.
    Thursday, February 23, 2012 2:47 PM
  • Although its an old discussion, but I think I can add value to by sharing the steps/Cautions that we had followed for doing the move.


    Sukhija Vikas http://msexchange.me

    Monday, April 28, 2014 6:54 PM
  • Great! Its true that PF replicas will take time to populate in the new server, so the best practice that I follow is to export the content into .PST, add replica and then import the .PST  back.

    :) - ASP

    Tuesday, April 29, 2014 6:21 AM