Skip to content

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.

Note

For the regional cluster case, make sure to setup the same location on the regional cluster.

Create a one time backup of your k0rdent cluster by creating the following object:

kubectl create -f - <<EOF
apiVersion: k0rdent.mirantis.com/v1beta1
kind: ManagementBackup
metadata:
  name: example-backup
spec:
  storageLocation: aws-s3
EOF

Confirm the backup was successful by navigating to the appropriate storage console UI or from the command line:

kubectl get managementbackups

The managementbackup should show as Completed:

NAME              LASTBACKUPSTATUS   NEXTBACKUP   AGE
example-backup    Completed                       8m