Backing up with Velero is done via the cli, by a CRD or on a schedule.
It is important to know that the --snapshot-volumes=true is needed to actually backup the PVC. This can only be done if restic is enabled for Velero during Installation ( --use-restic argument ).
Restic PVC Backups
~ How ? ~
Done by adding
backup.velero.io/backup-volumes: volumeNameto the deployment’s annotations. Be careful! there should be no spaces if you want to backup multiple volumes.
Creating backups
Manual
velero backup create uptimekuma --include-namespaces uptimekuma --snapshot-volumes=true Will backup the namespace uptimekuma
From Schedule
velero create backup --from-schedule general