1. Introduction

This document will guide you through how to use the WIN-911 Backup Restore utility to create and restore compact backups of your WIN-911 2021 configuration. 


Note: WIN-911 Backup Restore is only available for versions of 2021 R2 and higher. For 2021 R1 (v5.21.10), please refer to our Manual Backup Procedures article.


2. Installation

The WIN-911 Backup Restore utility is not installed by default with WIN-911 2021. You can find it in the Tools directory of your installer package, or from our website in the Support Downloads section. 



There are no options during the setup other than choosing where to install the program files. By default, this will install to your C:\Program Files (x86)\WIN-911 Software folder.

Once completed, you can launch the program from the Start Menu, under the WIN-911 program group.

3. Usage

   A. Backup

The WIN-911 Backup Restore utility has two main functions that are presented as buttons when opening the program: Backup, and Restore.


Selecting 'Backup' will bring you to two options used for the creation of the backup package. By default, it will set the Backup Folder to the Documents folder of whatever user has started the program. 

The SQL Server Instance should automatically set itself to the WIN911 instance for your application. However, if your SQL Server is on another computer, you may have to enter it manually. 
The default is [computerName]\WIN911.



Clicking the 'Start Backup' button will begin the process of copying your WIN-911 configuration from the SQL Server and compressing it to a ZIP file. A successful backup should look something like the following screenshot:


The filename of the backup will always use the same format: "WIN-911 Backup-<logicalSystemName>-<yyyymmddHHmmss>.zip"

For troubleshooting purposes, a log file is created in the user's local Temp directory.


  B. Restore


NOTE: If you still have WIN-911 V7 PRO installed on the same system, the services detection utilized by this program may attempt to stop/start your Service Wrapper and viewLinc services. We strongly advise disabling these services, or to remove WIN-911 V7 from the computer if utilizing this restore function.

Selecting 'Restore will bring you to two options used for the restoration of the backup package. By default, the SQL Server Instance should automatically set itself to the WIN911 instance for your application. However, if your SQL Server is on another computer, you may have to enter it manually. 
The default is [computerName]\WIN911.


Click on the three dots (...) to browse for your backup package. You can view the example screenshot below:



Clicking the 'Start Restore' button will attempt to stop your WIN-911 Runtime services. WIN-911 cannot be running while the SQL configuration is being updated. You will see a progress window stating the status of the system while it stops the running services.



The program will then migrate the ZIP configuration into the existing database.
Next, the program will start all services again, then open the WIN-911 Module Mapper.  



Wait for the Module Mapper to detect all endpoints, and ensure that all of your installed modules are listed in the map. Verify your Logical System Name (Green icon), the computer hostname (Blue icon), and the detected WIN-911 Modules on that system.



Once you've verified the system listing is correct, click the Save icon in the bottom right of the Module Mapper window. You'll be asked to confirm the Logical System. Click the check mark to confirm.



You will be prompted to "restart all WIN-911 host computers", but please ignore that for this procedure. The WIN-911 Backup Restore program will restart the key services needed for the system to continue.  



Close this information pop-up box, and then close the Module Mapper. The Restore will then continue to stop the WIN-911 services again to reload the new Module Map information. Lastly, the Restore will start all the WIN-911 Services to leave you with a system running your restored configuration. As you can see below, a log file is provided for troubleshooting.



Close this information pop-up box, and then close the Module Mapper. The Restore will then continue to stop the WIN-911 services again to reload the new Module Map information. Lastly, the Restore will start all the WIN-911 Services to leave you with a system running your restored configuration. As you can see below, a log file is provided for troubleshooting.


  C. Advanced Backup (command line scripting)

The WIN-911 Backup Restore utility also provides a command line method for running backups of the WIN-911 configuration. This can be useful for Scheduled Tasks or scripting purposes if you'd like to take regular backups without clicking through the graphical interface.



NOTE: The WIN-911 Backup Restore utility needs elevated permissions in order to properly access the SQL Server and access the file system. Please be aware of this when setting up automated processes for this utility.


For a default installation, the application executable is located at C:\Program Files (x86)\WIN-911 Software\Backup Restore\WIN911.BackupRestore.exe. 


The command-line usage for the backup is shown below:

WIN911.BackupRestore.exe -f <folder path> -s <sql instance> -l <logical system name>

-f should be a folder location, such as C:\Backup\WIN-911
You can place the entire path in quotes as needed

-s should be the SQL server containing the WIN-911 databases, such as SCADASRV\WIN911
This should be in the format [computerName]\[instanceName]

-l is the logical system name, typically [computerName]-911
This can be found by running the WIN-911 Module Mapper, or during graphical usage of the Backup Restore program

For a fully default install on a computer named "SCADA02", and a username of "scadausr", an example of the backup command would be:


WIN911.BackupRestore.exe -f "C:\Users\scadausr\Documents" -s SCADA02\WIN911 -l SCADA02-911


The command line interface does not return a value if it was successful or not. All logging and output is diverted to the "WIN911 Backup Restore.log" created in the AppData\Local\Temp folder of the user that the program runs as.


NOTE: The WIN-911 Backup Restore utility will not create directories if they do not exist. Please ensure that the folder location you've specified exists, and that the user running the application has rights to write to that directory. Otherwise the backup will fail.



Technical Support


Having difficulty with the Backup Restore utility? We'd be happy to assist.

Please locate either your Customer Care Code or your Serial number. Then, create a Case online or contact the product support line at (512) 326-1011.