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:
- Connect to the deployer VM using the following command:
export KUBECONFIG=/root/.kube/<KubeConfig File>
- To get the list of available backups, run the following command:
~> kubectl get backup -A NAME STATUS CURRENT STATE READY ACROSS CLUSTER BACKUP SIZE (IN BYTES) RETENTION POLICY (IN DAYS) AGE backup-name SUCCESSFUL integrityCheck True 686726 45 4h14m
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. - To get the list of available scheduled backup, run the following command:
~> kubectl get scheduledbackup.tcx.vmware.com NAME STATUS READY SCHEDULE MESSAGE scheduledbackup-name SCHEDULED True 0 23 * * * backup scheduled
If any failures occur during the execution of the Scheduled Backup, the MESSAGE field will be updated accordingly to reflect the error or issue encountered.
Note: The status and the schedule displays as part of the SCHEDULE. - 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