$ oc delete backup <backup_CR_name> -n <velero_namespace>
You can remove backup files by deleting the Backup
custom resource (CR).
After you delete the |
You created a Backup
CR.
You know the name of the Backup
CR and the namespace that contains it.
You downloaded the Velero CLI tool.
You can access the Velero binary in your cluster.
Choose one of the following actions to delete the Backup
CR:
To delete the Backup
CR and keep the associated object storage data, run the following command:
$ oc delete backup <backup_CR_name> -n <velero_namespace>
To delete the Backup
CR and delete the associated object storage data, run the following command:
$ velero backup delete <backup_CR_name> -n <velero_namespace>
Where:
The name of the Backup
custom resource.
The namespace that contains the Backup
custom resource.