From 48d1b250e90b5f52dc51e3ad3be487037a84c253 Mon Sep 17 00:00:00 2001 From: Mikael Frykholm Date: Tue, 15 Apr 2025 08:31:47 +0200 Subject: [PATCH] Add restore instructions. --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f2fd433..652ba22 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,14 @@ Export the kubectl config file for velero to use: microk8s config > ~/.kube/config velero install --features=EnableCSI --use-node-agent --provider aws --plugins velero/velero-plugin-for-aws:v1.2.1 --bucket velero --secret-file ./credentials-velero --use-volume-snapshots=true --backup-location-config region=sto3,s3ForcePathStyle="true",s3Url=https://s3.sto3.safedc.net --snapshot-location-config region=sto3 --wait velero schedule create prod-schedule --schedule="0 3 * * *" --snapshot-move-data=true - velero backup create rut-prod --snapshot-move-data --default-volumes-to-fs-backup=false --from-schedule prod-schedule + velero backup create rut-prod --snapshot-move-data --default-volumes-to-fs-backup=false --from-schedule prod-schedule --exclude-namespaces velero + +### Restore +* Install a new cluster according to the new install instructions. The addons for rut are not needed as they are included in the backup. +* Install Velero. +* Do the actual restore. + + velero restore create --from-backup test-schedule-20250411030038 ### Kubernetes logs and instrospection