How do I create a test VSA?


How do I create a test VSA?



I would like to create a test VSA. What are the steps I need to take?



You can either create a brand new clean test VSA or you can use the data from your existing production server for your test VSA. The steps for both scenarios are outlined below. 


Clean Test VSA:


  1. Simply install a new Kaseya VSA following these steps


Copy of your existing production VSA: 

(Note: This will need to be done during a maintenance window)

On your production 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
  4. Copy "C:\Kaseya\WebPages\ManagedFiles" and all sub-directories (Important:excluding VSAHiddenFiles) to the same backup directory. (Example: "D:\KaseyaServerBackup\ManagedFiles")
  5. Copy "C:\Kaseya\UserProfiles" and all sub-directories to the same backup directory. (Example: "D:\KaseyaServerBackup\userprofiles")
  6. Restart all the Kaseya Services

On your new test server:


  1. Install SQL using the same collation as the "ksubscribers" database you have on your production server.
  2. Download the kaseya installer (
  3. Run through the installer to install Kaseya without any data
  4. Stop all the "Kaseya" services except the "Kaseya Edge Services" and "Kaseya Web Exec"
  5. Copy "ManagedFiles" and all sub-directories (excluding VSAHiddenFiles)  from your backup folder. (Example: "D:\KaseyaServerBackup" to "C:\Kaseya\WebPages\ManagedFiles")
  6. Copy "UserProfiles" and all sub-directories 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" database1.png
  9. Once complete, click "Start" -> "Programs" -> "Kaseya" -> "Reinstall Database Schema". Please contact kaseyasupport if you see any schema fail error message.


If you think this article can be improved, please add a suggestion in the 'Comment' box below!

Was this article helpful?
3 out of 3 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.