Skip to main content

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.

  1. Go to the KakaoCloud Console > Data Store > MySQL menu.

  2. Click the Backup menu and select either the Manual backups or Automated backups tab.

    Manual backup tab

    ItemDescription
    NameName of the backup
    Instance group nameName of the instance group associated with the backup
    StatusBackup status
    - For details, refer to Backup lifecycle and states
    Engine versionMySQL engine version that the backup can be restored to
    Backup sizeSize of the backup
    Base storage sizeDefault storage size when restoring
    Created atDate the backup was created
    [⋮] buttonRestore, delete

    Automated backup tab

    ItemDescription
    NameName of the backup
    Instance group nameName of the instance group associated with the backup
    StatusBackup status
    - For details, refer to Backup lifecycle and states
    Engine versionMySQL engine version that the backup can be restored to
    Backup sizeSize of the backup
    Base storage sizeDefault storage size when restoring
    Automated backup retention periodRetention period set for automated backups
    Retention expiration dateDate when retention ends; backups are deleted automatically
    Created atDate the backup was created
    [⋮] buttonRestore

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.

Tutorial

For backup creation and restoration in a web service scenario, see the following tutorial.

When creating instance group​

  1. Go to the KakaoCloud Console > Data Store > MySQL menu.

  2. Click the [Create instance group] button.

  3. In step 3 of Create instance group, enter automated backup settings and click the [Create] button.

    ItemCategoryDescription
    Automated backupEnable automated backupWhether to enable automated backup; when enabled, backup is performed daily
    Backup retention periodRetention period of automated backups; select from 1 to 35 days
    - Affects all automated backups created for the instance group
    Start timeStart time for automated backups; backup begins within 15 minutes of the selected time

When managing instance group​

  1. Go to the KakaoCloud Console > Data Store > MySQL menu.

  2. In the Instance Group menu, click the [⋮] button of the target instance group and select [Configure automated backup].

  3. Enter the necessary settings and click the [OK] button.

    ItemCategoryDescription
    Automated backupEnable automated backupWhether to enable automated backup; when enabled, backup is performed daily
    Backup retention periodRetention period of automated backups; select from 1 to 35 days
    - Affects all automated backups created for the instance group
    Start timeStart 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.

info

Manual backups can be created only when the instance group status is Available, Primary-Available, Storage-Full(Warning), or Storage-Full(Error).

  1. Go to the KakaoCloud Console > Data Store > MySQL menu.

  2. In the Instance Group menu, select the instance group to back up.

  3. Click the Backup menu, then click the [Create backup] button.

    ItemDescription
    Backup nameName entered at creation
    StatusBackup status
    - For details, refer to Manage backup lifecycle and states
    Backup typeManual backup
    Created atBackup creation time
    Created byUser who created the backup
  4. In the Create backup popup, enter required information and click the [Create] button.

  5. 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​

caution

Once deleted, backups are permanently removed and cannot be recovered.

  1. Go to the KakaoCloud Console > Data Store > MySQL menu.
  2. In the Instance Group menu, select the instance group containing the backup to delete.
  3. In the Backup menu, click the [⋮] button for the target backup and select [Delete backup].
  4. 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.

info
  • 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.
  1. Go to the KakaoCloud Console > Data Store > MySQL menu.
  2. In the Instance Group menu, select the group containing the backup to restore.
  3. 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.

ItemCategoryDescription
Restore source informationReview 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 availabilityHigh availability (Primary and Standby instances) / Single (Primary instance)Same as instance group creation
Multiple availability zonesEnabled / DisabledSame as instance group creation
Instance group basic informationName / DescriptionName and description of the new instance group to restore
Availability and multiple availability zones

When availability is set to Single, the multiple availability zones option is disabled.

Engine version and storage for restoration
  • 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.