Velero install

Last updated:

Fresh install

  1. Extract the tarball.

tar -xvf velero-v1.6.0-linux-amd64.tar.gz
  1. Move the velero* file from velero directory to /usr/local/bin/

mv velero /usr/local/bin/
  1. Configure velero

Refer compatibility matrix to figure out which version of plugin goes with which version of velero.


velero install --provider aws --bucket velero --secret-file ./credentials-velero  --use-volume-snapshots=false --backup-location-config region=minio,s3ForcePathStyle="true",s3Url=http://10.47.19.232:9000  --use-restic --plugins velero/velero-plugin-for-aws:v1.0.0 –wait

velero install --provider aws --bucket velero --secret-file ./credentials-velero  --use-volume-snapshots=false --backup-location-config region=minio,s3ForcePathStyle="true",s3Url=http://10.47.20.119:9000  --use-restic --plugins velero/velero-plugin-for-aws:v1.0.0 –wait
  1. Check install Status

kubectl logs deployment/velero -n velero
  1. Annotate pods.

python pod_vol_restic_scan.py -n cisco
  1. Create backup.

velero backup create backup-20220621 --include-namespaces=cisco --wait --ttl 48h0m0s
  1. List backups.

velero backup get

velero backup create backup-20220308 —include-namespaces=cisco —wait

velero restore create —from-backup

04 Op Ccs Velero

Create backup schedule

14 days = 336 hrs

10 days = 240 hrs

07 days = 168 hrs


velero schedule create ccs-prod --schedule="@every 24h" --include-namespaces=cisco --ttl 192h0m0s

Velero backup list


velero backup get

Velero take backup


velero backup create backup-20210819 --include-namespaces=cisco --wait --ttl 48h0m0s

Delete backup


velero backup delete [backup_name]

kubectl delete namespace/velero clusterrolebinding/velero

cp velero-v1.3.2-linux-amd64.tar.gz /home/restore/

tar -xvf velero-v1.3.2-linux-amd64.tar.gz

cd velero-v1.3.2-linux-amd64

mv velero /usr/local/bin/

velero install —provider aws —bucket velero —secret-file ./credentials-velero  —use-volume-snapshots=false —backup-location-config region=minio,s3ForcePathStyle=“true”,s3Url=http://10.47.20.119:9000  —use-restic —plugins velero/velero-plugin-for-aws:v1.0.0 –wait


references: