You first need the location of the server. Then, back up the archiving and monitoring databases. Finally, move the database.
For more details, please refer to this this article: https://learn.microsoft.com/en-us/archive/blogs/drrez/move-the-lync-server-2010-archiving-service-database-lcslog-to-a-new-instance-of-sql-server.
This link is applied for Lync server 2010. But also support for Skype for Business server 2105.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.