Skip to main content
NetApp Solutions

Deleting backups and restores in using Velero

Contributors kevin-hoke banum-netapp

This section outlines how to delete backups and restores of Apps in OpenShift container platform using Velero.

List all backups

You can list all Backup CRs by using the OC CLI tool or the Velero CLI tool.
Download the Velero CLI as given in the instructions in the Velero documentation.

list backup

Deleting a backup

You can delete a Backup CR without deleting the Object Storage data by using the OC CLI tool. The backup will be removed from the CLI/Console output. However, since the corresponding backup is not removed from the object storage, it will re-appear in the CLI/console output.

delete backup

If you want to delete the Backup CR AND the associated object storage data, you can do so by using the Velero CLI tool.

delete backup AND associated Object Storage

Deleting the Restore

You can delete the Restore CR Object by using either the OC CLI or the Velero CLI

delete Restore