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
1.Important, please make a note of collation of the ksubscribers database, reason has been explained here
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
9. Once complete, click "start" -> "programs" -> "kaseya" -> "reinstall database schema". Please contact kaseyasupport if you see any schema fail error message.