It is recommended that you back up your Lansweeper installation on a regular basis, especially prior to performing any updates. An unexpected shutdown of your Lansweeper server could lead to an update failure and subsequent database corruption. A manual backup is also required to move your installation from one server to another.
Lansweeper data, reports and settings are stored in a database. Your database is hosted in either the Microsoft SQL LocalDB or Microsoft SQL Server. You can verify which database server you are using with the ConfigEditor tool.
Backing up your installation
On your Lansweeper server, stop the Lansweeper Server and web server services in Windows Services. Your web server service is either IIS Express or World Wide Web Publishing Service (IIS).
Log into SQL Server Management Studio. If SQL Server Management Studio isn't installed on your Lansweeper server, we recommend downloading it online.
If your database is hosted in SQL LocalDB, the SQL instance name you need to submit in Management Studio is (localdb)\.\LSInstance and you can log in with the Windows user that initially installed Lansweeper. If your database is hosted in SQL Server, you would have configured your SQL instance name and password when you installed SQL Server.
Right-click the lansweeperdb database and select Tasks > Back Up... to open the backup wizard. test
Scanned data, reports, and settings are stored in your database. Scanning servers, which only run the Lansweeper Server service, don't store any data or settings. They retrieve settings from the database and send scanned data directly to the database.
In the General tab of the backup wizard, configure the source and destination options. By default, the backup destination is a .bak file on your disk drive.
Backup type: Full
Backup component: Database
In the Media Options tab of the backup wizard, tick Verify Backup When Finished. This ensures the integrity of the backup is checked once created.
In the Backup Options tab of the backup wizard, make sure the name of the backup set is something other than lansweeperdb, to avoid overwriting your existing database. Select OK to create the database backup.
If it exists, create a backup copy of the following file as well: Program Files (x86)\Lansweeper\Key\Encryption.txt.
Restart the Lansweeper Server and web server services in Windows Services.
Was this post helpful? Select Yes or No below! Did you have a similar issue and a different solution? Or did you not find the information you needed? Create a post in our Community Forum for your fellow IT Heroes! More questions? Browse our Quick Tech Solutions.