Updating the application
The application is updated using the upgrade.sh upgrade script. 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.
You can back up the previous version when updating the application, if needed.
A user account in the Kaspersky MLAD server operating system must have root access to update the application.
Prior to starting the update, make sure that there is free space on the hard drive:
- If the application is being updated without performing a backup, the hard drive must have enough free space required to install Kaspersky MLAD.
- If a backup is performed simultaneously with the application update and the backup copy is saved on the same drive, at least 50% of the total hard drive volume must be free.
- If a backup copy is performed simultaneously with the application update and the backup copy is saved on another drive, the application installation drive must have free space in the amount required to install Kaspersky MLAD, and the drive for storing the backup copy must have free space equaling at least the amount of occupied disk space on the drive where the application is installed.
Updating Kaspersky MLAD is possible starting with application version 5.0.0-001.
The application will shut down while it updates. Kaspersky MLAD will not accept data from data sources or process it.
The Kaspersky MLAD server and the software installed on the server must meet the hardware and software requirements.
Kaspersky MLAD is updated to fix security flaws and application vulnerabilities or when new versions of the application are released under the current Technical Support Agreement. The application update is performed by a qualified technical specialist of the Customer, a Kaspersky employee, or a certified integrator.
The Kaspersky MLAD update will be interrupted if the integrity of the application archive has been breached. To obtain the correct archive of the application, please contact Kaspersky experts.
To update Kaspersky MLAD:
- Unpack the archive named mlad-5.0.0-<new build number>.tar.xz that is included in the distribution kit:
tar xf mlad-5.0.0-<
new build number
>.tar.xz
- Go to the folder with the new application build:
cd mlad-release-5.0.0-<
new build number
>
- Run the upgrade.sh script using one of the following methods:
- If you need to back up a previous version and save the backup copy in the directory where Kaspersky MLAD is installed, run the following command:
sudo ./upgrade.sh -f <
full path to the application build to be updated
>
The backup copy will be created in a directory named
mlad_backup-<
version number
>-<
build number
>
. The directory will be created within the directory where the application is installed. - If you need to back up a previous version and save the backup copy in a different directory, run the following command:
sudo ./upgrade.sh -b <
full path to backup directory
> -f <
full path to application build to be updated
>
- To skip backup when updating the application, run:
sudo ./upgrade.sh -b nobackup -f <
full path to the application build to be updated
>
You can run the upgrade.sh script with the
-h
switch if you want to display the brief description of the script in the Kaspersky MLAD update interface:sudo ./upgrade.sh -h
- If you need to back up a previous version and save the backup copy in the directory where Kaspersky MLAD is installed, run the following command:
- Follow the instructions of the Application Upgrade Wizard.
Accept the terms of the End User License Agreement while running the Application Update Wizard. You must accept the terms of the End User License Agreement to update the application. If you do not accept the terms of the End User License Agreement, the update process will be interrupted.
You can read the text of the End User License Agreement in the text file named license_en.txt located in the 'legal' directory.
To update Kaspersky MLAD in non-interactive mode:
- Unpack the archive named mlad-5.0.0-<new build number>.tar.xz that is included in the distribution kit:
tar xf mlad-5.0.0-<
new build number
>.tar.xz
- Go to the folder with the new application build:
cd mlad-release-5.0.0-<
new build number
>
- Run the upgrade script using one of the following methods:
- If you need to back up a previous version and save the backup copy in the directory where Kaspersky MLAD is installed, run the following command:
sudo ./upgrade.sh -q -e accept -f <
full path to the application build to be updated
>
The backup copy will be created in a directory named
mlad_backup-<
version number
>-<
build number
>
. The directory will be created within the directory where the application is installed. - If you need to back up a previous version and save the backup copy in a different directory, run the following command:
sudo ./upgrade.sh -q -e accept -b <
full path to the backup directory
> -f <
full path to the application build to be updated
>
- To skip backup when updating the application, run:
sudo ./upgrade.sh -q -e accept -b nobackup -f <
full path to the application build to be updated
>
where:
-q
means that the application is updated in non-interactive mode.-e accept
means that you accept the terms of the End User License Agreement. You must accept the terms of the End User License Agreement to update the application. If you do not add the-e accept
switch, application updating will be interrupted.You can read the text of the End User License Agreement in the text file named license_en.txt located in the 'legal' directory.
-b <
full path to the backup directory
>
means Kaspersky MLAD will back up the current application version and save the backup to the specified directory.-b nobackup
means that Kaspersky MLAD will update the application without backing up the current version.-f <
full path to the application build to be updated
>
means the application installed in the specified directory will be updated. - If you need to back up a previous version and save the backup copy in the directory where Kaspersky MLAD is installed, run the following command:
Kaspersky MLAD will be updated to the version specified in the build number. All application files will be located in the directory where Kaspersky MLAD is installed (/opt/kaspersky/mlad by default).