This topic explains how to back up and restore MySQL database instances managed by Tanzu Data Management Console (TDMC).
Overview
Backup and restore let users save the current state of a running database cluster and restore it later if problems arise.
MySQL backups are stored in the object storage bucket specified during the time of cluster creation.
Backup
To take a backup of a database cluster:
-
Navigate to MySQL > Backups & Restore.
-
Click Create Backup. A Create backup pane opens:
-
Select the cluster you want to take a backup of, specify the backup name and description and proceed with the steps to submit the request.
-
On successful submission of request, you return to the Manage Backups & Restore pane and see the backup listed:
Delete a Backup
To delete backups that you no longer need:
-
Navigate to MySQL > Backups & Restore.
-
Click the menu icon (
) on the left of the backup listing. A small pop-up menu appears.
-
Select Delete Backup option, type the backup name, and click Delete:
Restore
Restoring a backup creates a new cluster with the specified name and restores the backup on this cluster. The size of the newly created cluster is the same as the backed up MySQL cluster.
To restore a database service cluster from an existing backup:
-
Navigate to MySQL > Backups & Restore.
-
Click the menu icon (
) on the left of the backup listing. A small pop-up menu appears.
-
Click Restore. A restore pane for the backup appears:
-
Enter the details: instance name, storage class, network policies. Submit the request.
The database service Instances pane shows cluster status as it is created or restored.
- For details of the restored cluster, click the instance listing to open its details pane.
-
Once the restore completes, you can see restore operation details under the MySQL > Backups & Restore > Restores tab:
Content feedback and comments