To back up Administration Server data on the computer where the Administration Server is installed, run the klbackup tool from the command prompt with the necessary set of parameters.The klbackup tool is located in the Kaspersky Security Center installation folder. By default, C:\Program Files\Kaspersky Lab\Kaspersky Security Center.
Syntax for the tool
klbackup [-logfile <filename>] -path BACKUP_PATH [-use_ts]|[-restore] [-password <password>]
If you don’t specify the [-password <password>] parameter, the tool will display a dialog box that prompts you to enter it.
Description of the parameters
-logfile <filename>
(mandatory)
|
Save a log about the Administration server data backup. |
-path BACKUP_PATH |
Save information in the BACKUP_PATH folder. Both the Administration Server and the SQL server on which the database is located must be able to write to this folder.
|
-use_ts |
Save information to a subfolder along the BACKUP_PATH path with a name containing the date and time of the current operation in the klbackup format of YYYY-MM-DD # MM-HH-SS.
If the parameter isn’t specified, information will be saved in the root of the BACKUP_PATH folder. Any attempt to save information to a folder that already contains a backup copy will fail.
The -use_ts parameter allows you to maintain an Administration Server data archive. For example, if the -path parameter specifies the folder C:\KLBackups, information about the state of the Administration Server as of October 19, 2010 at 11:30:18 AM will be saved in the folder klbackup 2010-10-19 # 11-30-18. |
-restore |
Recover Administration Server data from the BACKUP_PATH folder. If this parameter is not specified, data will be backed up from the BACKUP_PATH folder. |
-password <password>
(mandatory)
|
Save the Administration Server certificate. Use the password specified in the -password parameter to encrypt and decrypt the certificate.
If the password contains multiple words, write them within quotation marks.
A forgotten password cannot be recovered and you will be unable to restore the certificate without it.
|
Examples
- Backing up the Administration Server database
klbackup -logfile E:\Backup\log.txt -path E:\Backup -use_ts -password 12345
A backup copy of the Administration Server database will be created along the path E:\Backup in a subfolder with a name containing the date and time of the backup. The Administration Server certificate will be saved with the password 12345 and log about the operation will be created.
- Restoring data from a backup
klbackup -logfile E:\Backup\log.txt -path E:\Backup -restore -password 12345
A backup copy of the Administration Server database will be restored from the E:\Backup folder, along with the Administration Server certificate with the password 12345. A log about the operation will be created.