Follow this guide to restore an Elemental configuration from a backup with Rancher.
Prepare rancher-backup operator and backup files for restoring
Go to official Rancher documentation and make sure that
rancher-backup operator is installed and has access to backup files.
You first have to follow this documentation to do a backup of Elemental resources.
Restore the Elemental configuration with rancher-backup operator
restore object (adapted to your needs) to restore the backup tarball.
Apply manifest on Kubernetes.
kubectl apply -f elemental-restore.yaml
Check logs from rancher-backup operator.
kubectl logs -n cattle-resources-system -l app.kubernetes.io/name=rancher-backup -f
Verify if backup file was restore successfully.
INFO[2022/10/31 06:34:50] Processing controllerRef apps/v1/deployments/rancher
INFO[2022/10/31 06:34:50] Done restoring
Continue with procedure from Rancher documentation