Updating the application and rolling back to the previous installed version
This section contains a step-by-step description of how to update Kaspersky MLAD, and a description of how to roll back the application to the previous installed version.
Update and rollback of Kaspersky MLAD are possible only for application versions 3.0.0-001 or later. When Kaspersky MLAD is updated, all of the following data that was uploaded, received, or processed by the previous version of Kaspersky MLAD will be saved: tag configurations, presets, ML models, and settings of Kaspersky MLAD.
Kaspersky MLAD must be updated by a qualified administrator who is employed by the Customer and authorized to accept the End User License Agreement for Kaspersky MLAD.
To update Kaspersky MLAD from the command line:
- Unpack the archive named mlad-3.0.0-<new build number>.tar.xz that is included in the distribution kit:
tar xf mlad-3.0.0-<new build number>.tar.xz
- Navigate to the folder where you unpacked Kaspersky MLAD:
cd mlad-3.0.0-<new build number>
- Run the application update script named upgrade.sh:
sudo ./upgrade.sh
You can run the upgrade.sh script with the
-h
switch if you want to call up the assistant in the Kaspersky MLAD update interface:sudo ./upgrade.sh -h
- Follow the instructions of the Application Upgrade Wizard.
As a result, Kaspersky MLAD will be updated to the version specified in the build number. All application files are located in the folder where Kaspersky MLAD is installed (mlad-release-3.0.0-<installation build number> by default). A directory named upgrade_backup-3.0.0-<previous build number> will also be created there and will contain a backup copy of the previous version of Kaspersky MLAD. It is not recommended to move the upgrade_backup-3.0.0-<previous build number> directory to a different directory.
To roll back Kaspersky MLAD to the previous installed version:
- Go to the directory that contains the backup copy of Kaspersky MLAD:
cd upgrade_backup-3.0.0-<previous build number>
- Run the application update script named upgrade.sh with the
-r
switch:sudo ./upgrade.sh -r
- Follow the instructions of the Application Upgrade Wizard.
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.
As a result, Kaspersky MLAD will be rolled back to the previous installed version.