- Print
- PDF
How Do I Backup and Restore Lasernet?
We recommend making backups regularly according to your own schedule, as well as on an ad hoc basis before making significant changes. By always having a backup of your system, you will be able to restore it in the event of a system failure, or if recently applied changes cannot be reversed.
When upgrading your software, in some cases it is not possible to downgrade and then open a configuration stored in the Lasernet Config Server. Although uncommon, making backups will also help prevent data loss due to hardware failures.
Prerequisite Steps
Complete the following steps before creating a backup.
Commit Changes
If applicable, ensure that changes made to objects have been committed to the Lasernet Config Server in the Commit changes dialog to prevent work from being lost.
Release Temporary Jobs
Release temporary jobs, if any. These are stored by the Lasernet Services.
Note the Server Runtime Data Directory
Before creating a backup, note the runtime directory for each instance of each configuration. The default is:
C:\ProgramData\Formpipe Software\Lasernet 10\Service\%InstanceName%\
Open Lasernet Developer.
Open a configuration.
Select Servers.
Double-click the relevant server to display the Default Properties dialog.
Select the General tab.
Note the Server runtime data directory.

Note
For standalone databases, select the Database tab to view and store database names and servers.

Stop Services in Windows
Open the Services application.
Select your Lasernet Config 10 and Lasernet 10 Services and stop them.

Stop SQL Server Process
Note
The steps in this section are only needed when using SQL Server LocalDB for the Lasernet Config server.

Open the Task Manager application
Select the Details tab
Select sqlservr.exe, right-click, and select End task. Repeat this step for any sqlservr.exe running on the server.

Create a Backup
Copy Server Runtime Data Directory
The following must be completed to create a successful backup:
Copy Lasernet Config Server Runtime Directory (in Lasernet 10 folder)
Follow these steps to back up the Config folder:
Open Windows Explorer.
Navigate to the runtime directory noted earlier: C:\ProgramData\Formpipe Software\Lasernet 10\
Make a copy of the Config folder.
Copy all Lasernet Server Instance Runtime Directories
Follow these steps for each directory you want to include in the backup:
Open Windows Explorer.
Navigate to the runtime directory you noted earlier. If the default location is used, this will be C:\ProgramData\Formpipe Software\Lasernet 10\Service\
Make a copy of the corresponding instance folder.
Create a Backup of Standalone Database Instance(s)
This section applies to standalone SQL databases only. Follow additional steps to create a backup of the databases.
The following must be completed to create a successful backup:
Backup Config Server SQL standalone database (if applicable)
Backup all standalone server database instances (if applicable)
The following steps must be completed for each database you want to include in the backup:
Note the database in the SQL Server Properties for Lasernet Config service dialog.
Open the SQL Management Studio application.
Select the corresponding Lasernet Config database and make a backup.


Select the corresponding Lasernet Job database(s) and make a backup.


Restart Services
Restart the Lasernet Config 10 and Lasernet 10 Services to continue using Lasernet as normal.
The sqlserver.exe processes will automatically restart with the Lasernet Config 10 and Lasernet 10 Services.
Backup complete
The copied folders and databases can be used as backups, when necessary.