Lync 2010 – Move / Migrate the Central Management Store CMS Database

For reason or another you may need to move or migrate the Central Management Store CMS Database. This can happen for; Move from a PoC to production, Disaster Recovery or other relocation reason.

Well, you will need to follow these steps:

1- Backup the current CMS and LIS Databases

Export-CsConfiguration –FileName C:\

Export-CsLisConfiguration –FileName C:\

2- Now it is the time to think where to move the DB J, this can be to another Std. FE or SQL Server;

For the first choice – another Std. Server – make sure to do the following:

· Create the new FE in the Topology Builder, then publish.

· Install that FE Server

· Make sure to run the Prepare Standard Edition server option to install CMS RTC instance

For the second choice – another SQL Server – just proceed.

3- Run the below cmdlet in the Lync S Module imported;

If moving to another Standard Edition Front End Server,

Install-CSDatabase –CentralManagementDatabase –UseDefaultSQLPaths –SqlServerFQDN HT-LyncStd.HanyTaha.Lab -SqlInstanceName rtc

If moving to another SQL Server,

Install-CsDatabase –CentralManagementDatabase –UseDefaultSQLPaths –SQLServerFQDN HT-ClusterSQL01.HanyTaha.Lab

4- Enable the Topology by “Enable-CsTopology” cmdlet in order to enable changes made outside Topology Builder;


5- Run the cmdlet “Move-CsManagementServer” to Moves the Central Management Server from one pool to another. it will search for available pools and provide you with options to move the CMS


Or – in case of old CMS server is not there any more;

Move-CsManagementServer -ConfigurationFileName “C:\” -LisConfigurationFileName “C:\” –Force

Posted in Lync, Lync 2010
7 comments on “Lync 2010 – Move / Migrate the Central Management Store CMS Database
  1. Rodrigo says:

    Hey would you mind sharing which blog platform you’re using? I’m going to start my own blog soon
    but I’m having a difficult time selecting between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design seems different then most blogs and I’m looking for something completely unique.
    P.S Sorry for getting off-topic but I had to ask!

    • Hany Taha says:

      Hi Rodrigo,
      It might take sometime, but you have to search a lot between deferent styles on the blog sites. this will help you to get something beautiful. However, the contents stay the best factor to get unique 🙂

  2. Jack says:

    Will this process work for moving the database in Lync 2013? Also, I’m not clear on why after you enable the topology you run the move-csmanagementserver command. It seems to me that once you move the database and enable the topology, this step is unnecessary.

  3. cms says:

    hosting for MotoCms optimized and structured for this great tool to create professional flash websites.

  4. Pooria says:

    thank you for the article, So there is no need to backup the Database and restore it on the new server?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: