Ask the Community
Groups
How do I reinstall the OS on my Kaseya server? - Connect IT Community | Kaseya
<main> <article class="userContent"> <p><strong>QUESTION</strong></p> <p>I need to reinstall the OS on my Kaseya server.<br><br>How do I do this and keep our current data from the Kaseya install?</p> <p> </p> <p><strong>ANSWER</strong></p> <p>You can back up the database using the System tab > Configure function - this will back up to a time/date stamped .bak file in the folder path specified in the "Backup folder on KServer" field.<br><br>So if you need to reinstall the OS, the steps you should take are: -<br><br>1) apply the latest hotfixes to your Kaseya system</p> <p>2) stop the Kaseya service using the Stop Service button in the System tab > Configure function</p> <p>3) take a database backup using the Backup Now button - when the backup completes you will have a file in the Backup Folder path on your server called ksubscribers_db_yyyymmddhhmm.BAK (we would recommend ensuring you have at least 2 good backups before reinstalling the OS)</p> <p>4) Once the backup completes, copy the following information to another computer or a removable drive: -</p> <ul><li>The database backup files (Named ksubscribers_db_yyyymmddhhmm.BAK)</li> <li>The entire directory <em>\WebPages\themes\banner\images\new. </em>This directory contains the customized icons, if any, for reports and the Agent when using the <em>banner</em> theme.</li> <li>The entire directory <em>\WebPages\themes\compact\images\new</em>. This directory contains the customized icons, if any, for reports and the Agent when using the <em>compact</em> theme.</li> <li>The entire directory <em>\WebPages\themes\default\images\new</em>. This directory contains the customized icons, if any, for reports and the Agent when using the <em>default</em> theme.</li> <li>The entire directory <<em>Kaseya_Installation_Directory></em><em>\UserProfiles. </em>This directory contains the files associated with your managed machines.</li> <li>With the exception of the subdirectory VSAHiddenFiles, the entire directory <em>\WebPages\ManagedFiles</em>. This directory contains the scripts and managed files belonging to each administrator.</li> <li>You may want to backup your customized header from \WebPages\Access if you have customized this.<br><br>WARNING: Do not copy VSAHiddenFiles (found inside the WebPages\Managed files directory) from an old system to a new system. This directory contains many system helper files. Your new system installation contains the latest versions of these files.</li> </ul><p><br>5) reinstall the OS and SQL Server, and ensure both are on the latest version and fully patched - ensure the IP address is set the same as before so that agents can check in</p> <p>6) reinstall the Kaseya VSA using the latest installation - see <a href="/home/leaving?allowTrusted=1&target=http%3A%2F%2Fportal.knowledgebase.net%2Farticle.aspx%3Farticle%3D274641%26p%3D11855">http://portal.knowledgebase.net/article.aspx?article=274641&p=11855</a></p> <p>7) log on to the new VSA using the master admin password specified in the installation</p> <p>8) restore the DB using the System tab > Configure function, Restore button</p> <p>9) copy the folders backed up in step 4 to the new Kaseya installation directory</p> <p>10) log in to the VSA using a Master admin login from your original system and check all the data is there</p> <p>11) reload hotfixes using System tab > Configure, relaod button</p> <p> </p> <p><strong>Applies To</strong></p> <p>Kaseya Server (all versions)</p> </article> </main>