Migration of Kaseya Server and the database


I would like to migrate my current kaseya server application server and my database to a new server.

What are the steps I need to take?



Although we have a detailed guide on how this can be achieved in our help file here, this article has been written to provide summarized points that you need to take for the migration

This article assumes that you will use the same ip for the new server as was being used by old server or will point current dns address agents are using in agent>check in control to this new server's ip .

This article also assumes that your kaseya application and your kaseya database is on a same server.

If you are looking to migrate from same server to two different servers i.e different front end and different sql server then please follow instruction from this article to migrate database and steps related to transfer of managedfiles and userprofiles from below list.

If you are looking to migrate from existing split set up to a new split set up servers, please follow our help file in details

On your OLD server

1.Important, please make a note of collation of the ksubscribers database, reason has been explained here
2. Backup the 'ksubscribers' database from system>configure>backup now and copy this completed backup to a backup folder. (Example: 'D:\KaseyaServerBackup`) 
3.Please stop all the kaseya services on the old server

4. Copy `c:\kaseya\webpages\managedfiles` and all subdirectories (Important:excluding VSAHiddenFiles) to the same backup directory. (Example: `D:\KaseyaServerBackup\ManagedFiles`)

5. copy `c:\kaseya\userprofiles` and all subdirectories to the same backup directory. (Example: `D:\KaseyaServerBackup\userprofiles `)

After securing the important files, please proceed with below steps;

On your NEW Server

1. Install SQL using the same collation as the `ksubscribers` database had on your old server.

2. Download the kaseya installer

3. Run through the installer to install kaseya without any data

4. Stop all the "Kaseya" services except `Kaseya.ApplicationFirewall or kaseya edge service` and `Kaseya Web Exec`

5. Copy `managedfiles` and all subdirectories (excluding VSAHiddenFiles)  from your backup folder. (Example: `D:\KaseyaServerBackup` to `c:\kaseya\webpages\managedfiles`)

6. Copy `userprofiles` and all subdirectories from your backup folder. (Example: `D:\KaseyaServerBackup` to `c:\kaseya\userprofiles`)

7. In SQL management studio, restore the database that you previously copied to the backup folder. Please make sure you choose to overwrite the existing database from options tab in restore window
8. In SQL management studio, locate user with name starting KaseyaVSA and map it to newly restored "ksubscribers" database

9. Once complete, click "start" -> "programs" -> "kaseya" -> "reinstall database schema". Please contact kaseyasupport if you see any schema fail error message.

10. Once this completes, please verify if you can login or not. If you see any login error message, please contact kaseya support.
11. Please note that your agents still want to check into the IP address that you had them checked in as per your old vsa>agent>check in control. So this new server should now have the same ip address or the dns should now point to this new ip address
Applies to: Kaseya 9.2 and lower
Was this article helpful?
5 out of 5 found this helpful
Have more questions? Submit a request


Article is closed for comments.