Installation scripts
About
This chapter describes all scripts in YSoft SafeQ CRS installer.
These scripts are available only for CRS installer.
All installation scripts are available in the installation package (InstallPackages folder).
To see the list of supported parameters for each script, run the script with the parameter -help. For example, to get help for the backup script, issue the command:
InstallPackages\backup.bat -help
Install.bat
Script for installing YSoft SafeQ CRS Server. For more information see chapter Installing YSoft SafeQ CRS.
Update.bat
Script for updating of YSoft SafeQ CRS Server. For more information see chapter Updating YSoft SafeQ CRS.
Backup.bat
This script performs a backup of your currently installed YSoft SafeQ CRS server.
1) | Configure YSoft SafeQ CRS installer according to CRS configuration. |
2) | Begin the backup by running the backup.bat program: InstallPackages\backup.bat.
|
3) | SafeQ CML will be backed up into the folder according to installer settings: # Backup directory (for storing CRS files backup and database dumps)# Default: C:/SafeQCRS-BackupsbackupDir=C:/SafeQCRS-Backups# Max roll count of created backups of CRS files# Default value: 3backupFilesMaxRollFileCount = 3 |
4) | When the backup is finished, close the command prompt window. |
To make it possible to schedule a regular unattended backup, some command-line parameters must be used to avoid the backup script pausing and waiting for user input. The minimum set of parameters needed to achieve this is:
-env <EnvironmentName>
-nopause
For example, the complete command line could be:
InstallPackages\backup.bat -nopause -env crs\TEST\node1
Uninstall.bat
Using this script you can uninstall existing YSoft SafeQ CRS server. For more information see chapter Uninstalling YSoft SafeQ CRS.
Status.bat
This script performs check of status of your currently installed YSoft SafeQ CRS server.
1) | Use the configured YSoft SafeQ CRS installer according to CRS configuration and run status.bat (InstallPackages\status.bat.) |
2) | Enter environment name (Example: crs\TEST\node1) |
3) | Status.bat will check your current configuration and write it in to InstallPackages\logs\status.log.
|