Management Backup on Demand#
To create a single backup of the existing k0rdent management cluster information, you can create a ManagementBackup object
using a YAML document and the kubectl CLI. The object then creates only one instance of a backup. For example you can backup
to the location created previously. Create a YAML file called one-time-backup.yaml:
apiVersion: k0rdent.mirantis.com/v1beta1
kind: ManagementBackup
metadata:
name: example-backup
spec:
storageLocation: aws-s3
kubectl apply -f one-time-backup.yaml
kubectl get managementbackup
managementbackup should show as Completed:
NAME LASTBACKUPSTATUS NEXTBACKUP AGE
example-backup Completed 8m