Create a backup copy of the database and the Integration Server settings
You can manually save a backup copy of the Linux-based Integration Server database and settings.
An account with root account privileges is required to complete the procedure.
To save a backup copy of the database and Integration Server settings:
sudo systemctl stop viis
sudo mkdir /home/root/viis_backup
sudo chmod 600 /home/root/viis_backup
sudo cp -pr /var/opt/kaspersky/viis/common /home/root/viis_backup
sudo find /home/viis/ -name machine-id-* -exec cp -p {} /home/root/viis_backup \;
sudo systemctl start viis
Restoring data from a backup copy of the Integration Server database and settings
An account with root account privileges is required to complete the procedure.
If errors occur in the operation of the Integration Server after an update, you can use the backup copy of the database and settings to restore the previous version of the Integration Server and the saved data.
To revert to the previous version of the Linux-based Integration Server:
viis
account as the owner of the files in the backup copy:sudo chown -R viis:viis /home/root/viis_backup/*
sudo systemctl stop viis
sudo rm -rf /var/opt/kaspersky/viis/common
sudo cp -pr /home/root/viis_backup/common /var/opt/kaspersky/viis/
sudo find /home/viis/ -name machine-id-* -exec rm {} \;
sudo find /home/root/viis_backup -name machine-id-* -exec cp -p {} /home/viis \;
sudo systemctl start viis
If all of these operations succeeded, the directory with the backup copy of the Integration Server can be deleted:
sudo rm -rf /home/root/viis_backup