Deleting backups and restores in using Velero
Suggest changes
-
PDF of this doc site
- Artificial Intelligence
-
Containers
- Red Hat OpenShift with NetApp
Collection of separate PDF docs
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
Deleting a backup
You can delete a Backup CR without deleting the Object Storage data by using the OC CLI tool.
oc delete backup <backup_CR_name> -n <velero_namespace>
If you want the delete the Backup CR and delete the associated object storage data, you can do so by using the Velero CLI tool.
Download the CLI as given in the instructions in the Velero documentation.
Execute the following delete command using the Velero CLI
velero backup delete <backup_CR_name> -n <velero_namespace>
You can also delete the Restore CR using the Velero CLI
velero restore delete restore --namespace openshift-adp
You can use oc command as well as the UI to delete the restore CR
oc delete backup <backup_CR_name> -n <velero_namespace>