The backup does not contain temporary files, including artifacts of background tasks.
To restore the Raft cluster from backup:
sudo systemctl stop kuma-core-<KUMA_Core_service_ID>.service
sudo rmdir <directory_name>
At this point, all KUMA Core services are stopped and the servers are ready for cluster recovery.
--raft.join option:sudo /opt/kaspersky/kuma/kuma core --raft.node.listen 0.0.0.0:7209 --raft.node.addr "$(hostname -f):7209" --health 0.0.0.0:7208 --internal 0.0.0.0:7210 --private 0.0.0.0:7220 --cybertrace 0.0.0.0:7222 --rest 0.0.0.0:7223 --install
The Raft cluster is restored from backup. The initial node of the KUMA Core cluster is restored.
--raft.join option to add the nodes to the Raft cluster using the following command:sudo /opt/kaspersky/kuma/kuma core --raft.join <FQDN of the initial cluster node>:7210 --id <ID of the KUMA Core service copied from the web interface> --install
The cluster is restored. You do not need to reset certificates of services, such as collectors, correlators, storages, and others, but you may need to change the value of the --core parameter in the systemd file to make the services communicate with the correct KUMA Core if the list of cluster nodes is changed as part of the restoration process.