How to roll back updates of application databases and modules
After the application databases are updated for the second time, the rollback of the application databases to their previous versions becomes available.
Every time a user starts the update process, the Kaspersky application creates a backup copy of the current application databases. This allows you to roll back the application databases to a previous version if needed.
Rolling back the last database update may be useful, for example, if the new application database version contains invalid signatures, which causes the Kaspersky application to block safe applications.
You cannot roll back a rollback.
You can roll back an update from the command line or using the application interface.
On the command line, to roll back updates, you can run the Rollback predefined task or create and run user tasks for rolling back updates (tasks of the Rollback type). You can also configure the task schedule.
The Rollback task does not have any settings.
ID of the Rollback predefined task: 7. Name of the Rollback predefined task: Rollback. If you have a rollback user task, you must specify its ID or name.
In the application interface, you can only run the predefined Rollback task.
To configure the task schedule using a configuration file:
- Output the task settings to the configuration file:
kfl-control --get-schedule
- Edit the values of the necessary settings in the configuration file and save the changes.
- Execute the command:
kfl-control --set-schedule <
task ID/name
> --file <
configuration file path
> [--json]
All values of the settings for the task run schedule defined in the file will be imported into the application.
To modify individual task schedule settings on the command line:
kfl-control --set-schedule <
task ID/name
> <
setting name
>=<
setting value
> [<
setting name
>=<
setting value
>]
The values of the specified settings for the task run schedule are modified.
To start the Rollback predefined task, enable the output of current events related to this task, and display the progress of the task:
kfl-control --start-task 7 [-W] [--progress]
To create and start the Rollback user task, enable the output of current events related to this task, and display the progress of the task, run the following commands in sequence:
kfl-control --create-task <
task ID/name
> --type <Rollback>
kfl-control --start-task <
task ID/name
> [-W] [--progress]
To roll back an update using the application interface:
- Open the main application window.
- In the main application window, select the Update section.
The Update window opens.
- Run the Rollback task by clicking the Roll back update link.
You cannot manage the schedule of the Database update rollback task in the application interface.