Automated restore configuration
Automated restore configuration
Copy secrets from production to staging
kubectl config use-context <production environment context>kubectl config set-context --current --namespace=opencrvs-deps-<environment>kubectl get secret backup-encryption-secret \ backup-server-ssh-credentials -oyaml > /tmp/production-backup-secrets.yamlkubectl config use-context <staging environment context>kubectl config set-context --current --namespace=opencrvs-deps-<environment>kubectl apply -f /tmp/production-backup-secrets.yamlsecret/restore-encryption-secret created secret/backup-server-ssh-credentials created
Enable restore in Dependencies helm chart values
Enable reindex in OpenCRVS helm chart values
Verify restore configuration
Verify Kubernetes jobs were executed per schedule:
Disable/Enable restore
Last updated