You are here: Home » kubernetes » velero
Kubernetes:velero
This is an old revision of the document!
Table of Contents
Velero commands
Install
Use dry-run to generate only manifests:
velero install --provider aws --plugins velero/velero-plugin-for-aws:v1.1.0 --dry-run --no-secret --bucket backup.eks.mediakeys.io -o yaml > generate/velero.yaml
velero install --features=EnableCSI --provider aws --plugins=velero/velero-plugin-for-aws:v1.1.0,velero/velero-plugin-for-csi:v0.1.0 --dry-run --no-secret --bucket backup.eks.mediakeys.io -o yaml > generate/velero.yaml
velero install --crds-only --dry-run -o yaml > generate/velero.yaml
Backup
velero backup create --from-schedule nexus nexus-20200916
Restore
velero restore create --from-backup mybackup-name --include-resources pvs,pvcs --restore-volumes