You can manually delete any backup at any time.

Procedure

  1. Connect to the cluster node and execute below command:
    export KUBECONFIG=/root/.kube/<KubeConfig File>
  2. To delete the backup, run the following command:
    ~> kubectl delete backup.tcx.vmware.com backup-name
    Note: If the MinIO is deployed as statefulset backed by Persistent Volumes, once the Kubernetes cluster is deleted, the backups are deleted too. To retain the backup deploy MinIO as gateway and trigger the backup, so that the backup is available in the external S3 object store. The backups previously taken when MinIO was deployed as statefulset will not be available on MinIO deployed as gateway.
    Some key information about the backup deletion or retention policy:
    • Deleting a backup file is a permanent operation. You cannot recover a deleted backup.
    • The retention policies can be set during the deployment time for all the backups or it can be set during the individual backup creation time.
    • After the expiration, the backup will be removed and cleaned from the object store and the list of available backups.
    • Following are the backup policy details:
      • numberOfDaysToKeep
      • successfulBackupsToKeep
      • failedBackupsToKeep
      Note: The successfulBackupsToKeep takes precedence over the numberOfDaysToKeep field. If the number of backups exceeds the limit, the oldest backup is removed based on the value set in successfulBackupsToKeep.