Skip to main content

Lync 2013 – How to Backup Persistent Chat

By April 15, 2013September 4th, 2020Blog, Hot Technology Topics, Lync Server 2013, Lync Server 2013

In a previous set of articles, I detailed out how to backup your Lync 2010 systems. Starting with how to backup specific components that you could use to put together a backup script to ensure your 2010 systems were properly protected.

In this series, we’re going to pick up in Lync 2013 and detail out how to backup some of the new features and then at the end, show you how to put it all together in one script that can be used to automatically get your system state for Lync.

To kick things off, let’s take a look at how to backup the Persistent Chat role. There are two ways to backup the Persistent Chat role. They are:

  • SQL Server Backup
  • Export-CsPersistentChatData

While the SQL Server backup might seem easier (and for some it might be), the Export-CsPersistentChatData is the option we want to use in our final script. In order to use the cmdlet, we need to provide one piece of data, the Database instance that the Persistent Chat data is located:

Export-CsPersistentChatData -dbinstance “sql-server.domain.comrtc”

Ideally, you would also provide a specific filename for the destination file as well:

Export-CsPersistentChatData -dbinstance “sql-server.domain.comrtc” -filename “persistentchatdata.zip”

Note: The destination file must have a .ZIP extension.

Next up, we will look at how to backup Response Groups in Lync 2013.

– Adam Ball, PEI

Leave a Reply