Cleanup
For cleaning up Velero resources, deleting them directly from cluster is not recommended.
-
To delete a backup, use command:
velero delete backup <backup-name> -n <velero-namespace>
This will delete all the associated resources with the backup
Notes
-
If you accidentally delete the backup resource directly. Make sure that you delete the backup file from your cloud bucket, which should be the same name as your backup and also delete the volume snapshots associated to this backup (if any)
-
If you accidentally delete the backup file from your cloud bucket, then you might not be able to delete the backup using
velero
command. In that case just delete the backup resource from cluster directly.