Kaspersky Machine Learning for Anomaly Detection

Rolling back the application to the previous installed version

December 6, 2023

ID 247989

This section contains a step-by-step description of the procedure for rolling back the application to the previous installed version using the upgrade.sh script.

Kaspersky MLAD rollback capabilities are available starting with application version 4.0.1-001.

When rolling back Kaspersky MLAD to the previous installed version, all data received and processed by Kaspersky MLAD from the moment the application was upgraded to the moment of the rollback to the previous version will be lost. You are advised to verify that you have a full backup copy of all Kaspersky MLAD data.

To roll back Kaspersky MLAD to the previous installed version:

  1. Go to one of the following directories containing the relevant backup copy of Kaspersky MLAD that the application rollback should restore:
    • upgrade_backup-4.0.2-<build number> – directory storing the application version created automatically during an application upgrade. To go to the directory, run the following command:

      cd upgrade_backup-4.0.2-<previous build number>

    • backup-4.0.2-<date and time of backup> – directory storing the application version created when the application was backed up. To go to the directory, run the following command:

      cd backup-4.0.2-<date and time of backup>

      When rolling back the application to the previous version, the backup-4.0.2-<date and time of backup> directory must be located in the directory where Kaspersky MLAD is installed (mlad-release-4.0.2-<build number> by default).

  2. To roll back the application to the previous version, run the application upgrade script named upgrade.sh with the -r switch:

    sudo ./upgrade.sh -r

  3. Follow the instructions of the Application Upgrade Wizard.

Kaspersky MLAD will be rolled back to the previous installed version.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.