Add restore instructions.
This commit is contained in:
parent
58f5b78162
commit
48d1b250e9
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue