Table of Contents

Install

Use dry-run to generate only manifests

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 mybucket.myorg.io -o yaml > generate/velero.yaml
velero install --crds-only --dry-run  -o yaml > generate/velero.yaml

Backup

velero backup create --from-schedule [schedule-name] [backup-name]

Restore

velero restore create --from-backup [backup-name] --include-resources pvs,pvcs --restore-volumes