Kaspersky Security Center 15.1 Windows
Optimizing backup and restoration of Administration Server data

To optimize backup and restoration of Administration Server data to reduce Administration Server downtime, do the following:

  • Enable the Use file system snapshot for data backup option.

    Refer to the following article for details: Using a file system snapshot to reduce the backup duration.

  • Configure the following flags:

    Run the Windows command prompt by using administrator rights, and then change your current directory to the directory with the klscflag utility. The klscflag utility is located in the folder where Administration Server is installed. The default installation path is <Disk>:\Program Files (x86)\Kaspersky Lab\Kaspersky Security Center.

    • KLSRV_BKP_FILES—Splits the database file into multiple smaller files, from 2 to 32. This can speed up backup and restoration if the DBMS performance is limited by the CPU.

      Example:

      klscflag -fset -pv klserver -n KLSRV_BKP_FILES -t d -v 2

    • KLSRV_BKP_BACKUP_EXTRA_PARS—Specifies the COMPRESSION and MAXTRANSFERSIZE parameters. This can speed up backup if the DBMS performance is limited by file input/output.

      Example:

      klscflag -fset -pv klserver -n KLSRV_BKP_BACKUP_EXTRA_PARS -t s -v "COMPRESSION, MAXTRANSFERSIZE = 4194304"

    • KLSRV_BKP_RESTORE_EXTRA_PARS—Specifies the MAXTRANSFERSIZE parameter. This can speed up restoration if the DBMS performance is limited by file input/output.

      Example:

      klscflag -fset -pv klserver -n KLSRV_BKP_RESTORE_EXTRA_PARS -t s -v "MAXTRANSFERSIZE = 4194304"

    • KLSRV_BKP_ONLINE_DB_BACKUP—removes Administration Server downtime during backup. Only available for the following DBMSs:
      • PostgreSQL, Postgres Pro.
      • SQL Server with the full recovery model. Refer to the SQL Server documentation for details. When you enable the KLSRV_BKP_ONLINE_DB_BACKUP flag, the SQL Server DBMS is automatically switched to the full recovery model.

      Example:

      klscflag.exe -fset -pv klserver -n KLSRV_BKP_ONLINE_DB_BACKUP -t d -v 1