Restoration
Restores the system to a backed-up version.node
Copy the backup of $shared_storage/PVC(s) to newly created PVCs, overwriting existing files. Ensure file permissions are not getting updated. For this you need to find which PVC belongs to a service, please find it by running below command in k8s-master.$ kubectl get pvc -n lilt
Alternatively, we can import the database from backup.sql and content of minio-pvc only as that contains the required trained data, memory and documents. Do that by running below command on the master server
$ mysql -u [user] -p [database_name] < [backup].sql
master
Restart pods by running:$ kubectl get pods -n lilt | awk '{print $1}' | grep -v NAME | xargs kubectl delete pods -n lilt