The MinIO stores backups from all the components. You can use the Kubernetes command to list the backups.

Examples to get the list of available backup:

  1. Connect to the deployer VM using the following command:
    export KUBECONFIG=/root/.kube/<KubeConfig File>
  2. To get the list of available backups, run the following command:
    ~> kubectl get backup
    NAME                              STATUS       TIME STARTED           TIME COMPLETED         BACKUP SIZE (IN BYTES)   RETENTION POLICY   MESSAGE
    backup-name                       SUCCESSFUL   2022-12-08T20:49:02Z   2022-12-08T20:49:07Z   10792                    45 days
    Note: The backup-name includes the status and the timestamp, when the backup was created and completed. If there is any error during the backup, it will be part of the MESSAGE.
  3. To get the list of available scheduled backup, run the following command:
    ~> kubectl get scheduledbackup.tcx.vmware.com
    NAME                   STATUS      SCHEDULE     
    scheduledbackup-name   SCHEDULED   0 23 * * *
    Note: The status and the schedule displays as part of the MESSAGE.
  4. To get the list of the available backup in the sorted order by their creation time, run the following command:
    kubectl get backup.tcx.vmware.com --sort-by=.metadata.creationTimestamp
  5. To get the list of the available backup sorted by feature:
    For example, if you want to list of backups for the dashboard feature, run the following command:
    ~> kubectl get backup
    NAME                              STATUS       TIME STARTED           TIME COMPLETED         BACKUP SIZE (IN BYTES)   RETENTION POLICY   MESSAGE
    backup-name                       SUCCESSFUL   2022-12-08T20:49:02Z   2022-12-08T20:49:07Z   10792                    45 days
    Note: This command works only when, you have added a label in your backup custom resource.