Manage backup
Backups are managed at the MySQL instance group level and are performed without stopping the instance group.
View backup list
You can view the list of backups created for MySQL instance groups in your project.
-
Go to the KakaoCloud Console > Data Store > MySQL menu.
-
Click the Backup menu and select either the Manual backups or Automated backups tab.
Manual backup tab
Item Description Name Name of the backup Instance group name Name of the instance group associated with the backup Status Backup status
- For details, refer to Backup lifecycle and statesEngine version MySQL engine version that the backup can be restored to Backup size Size of the backup Base storage size Default storage size when restoring Created at Date the backup was created [⋮] button Restore, delete Automated backup tab
Item Description Name Name of the backup Instance group name Name of the instance group associated with the backup Status Backup status
- For details, refer to Backup lifecycle and statesEngine version MySQL engine version that the backup can be restored to Backup size Size of the backup Base storage size Default storage size when restoring Automated backup retention period Retention period set for automated backups Retention expiration date Date when retention ends; backups are deleted automatically Created at Date the backup was created [⋮] button Restore
Configure automated backup
Automated backups in the MySQL service are performed once per day at a specified time. After enabling the automated backup option, a backup is triggered within 30 minutes, then follows the specified schedule.
You can perform point-in-time recovery based on automated backups. For details, see the Point-in-time recovery guide.
For backup creation and restoration in a web service scenario, see the following tutorial.
- MySQL backup and recovery for web services: Backup creation and restoration in a web service scenario
When creating instance group
-
Go to the KakaoCloud Console > Data Store > MySQL menu.
-
Click the [Create instance group] button.
-
In step 3 of Create instance group, enter automated backup settings and click the [Create] button.
Item Category Description Automated backup Enable automated backup Whether to enable automated backup; when enabled, backup is performed daily Backup retention period Retention period of automated backups; select from 1 to 35 days
- Affects all automated backups created for the instance groupStart time Start time for automated backups; backup begins within 15 minutes of the selected time
When managing instance group
-
Go to the KakaoCloud Console > Data Store > MySQL menu.
-
In the Instance Group menu, click the [⋮] button of the target instance group and select [Configure automated backup].
-
Enter the necessary settings and click the [OK] button.
Item Category Description Automated backup Enable automated backup Whether to enable automated backup; when enabled, backup is performed daily Backup retention period Retention period of automated backups; select from 1 to 35 days
- Affects all automated backups created for the instance groupStart time Start time for automated backups; backup begins within 15 minutes of the selected time
Create manual backup
You can manually create backups in the MySQL service.
Manual backups can be created only when the instance group status is Available, Primary-Available, Storage-Full(Warning), or Storage-Full(Error).
-
Go to the KakaoCloud Console > Data Store > MySQL menu.
-
In the Instance Group menu, select the instance group to back up.
-
Click the Backup menu, then click the [Create backup] button.
Item Description Backup name Name entered at creation Status Backup status
- For details, refer to Manage backup lifecycle and statesBackup type Manual backup Created at Backup creation time Created by User who created the backup -
In the Create backup popup, enter required information and click the [Create] button.
-
Check the backup file in the Backup menu.
Delete backup
You can delete backups that are no longer needed.
Delete automated backup
Automated backups cannot currently be deleted individually. Deletion is only possible by shortening the retention period or disabling automated backup.
- When shortening the retention period, backups past the new retention date are deleted within minutes.
- If automated backup is disabled, all existing automated backups are deleted within minutes.
For more information, see Configure automated backup.
Delete manual backup
Once deleted, backups are permanently removed and cannot be recovered.
- Go to the KakaoCloud Console > Data Store > MySQL menu.
- In the Instance Group menu, select the instance group containing the backup to delete.
- In the Backup menu, click the [⋮] button for the target backup and select [Delete backup].
- In the Delete backup popup, enter the required information and click the [Delete] button.
Restore
With the restore function in the MySQL service, you can create a new instance group using a backup. A valid backup must exist for the source instance group.
- A new instance group can be created from a backup only when the backup status is Succeeded. The storage size for the new group must be equal to or larger than that of the source group.
- Go to the KakaoCloud Console > Data Store > MySQL menu.
- In the Instance Group menu, select the group containing the backup to restore.
- In the Backup menu, click the [⋮] button for the desired backup and select [Restore]. Restoration follows the same four steps as Create instance group: Basic information, Instance configuration, Advanced settings, and Review. Most fields and policies are the same. The differences specific to restoration are described below.
Step 1. Basic information
Review the selected backup information, then configure availability, multiple availability zones, and the name of the instance group to restore.
| Item | Category | Description |
|---|---|---|
| Restore source information | Review the selected backup information - Backup name, instance group name, backup creation time, backup size, engine version, base storage size, and table name case sensitivity | |
| Instance availability | High availability (Primary and Standby instances) / Single (Primary instance) | Same as instance group creation |
| Multiple availability zones | Enabled / Disabled | Same as instance group creation |
| Instance group basic information | Name / Description | Name and description of the new instance group to restore |
When availability is set to Single, the multiple availability zones option is disabled.
- You cannot restore to a MySQL version earlier than that of the selected backup.
- The base storage size must be equal to or larger than that of the backed-up instance group.
Step 2 and later
Follow the same procedures as Create instance group for Instance configuration (engine, instance type, storage capacity, and network), Advanced settings (automated backup, additional settings, and Audit logging), and Review.