Skip to main content

Manage backup

Backups are managed at the cluster level and are performed without stopping the cluster.

info

Currently, backup and restore are available only when cluster mode is disabled.

View backup list

You can view the list of backups created in MemStore for the corresponding project.

  1. Go to KakaoCloud Console > Data Store > MemStore menu.

  2. Click the Backup menu and select either the Manual backup or Automatic backup tab.

    ItemDescription
    NameName of the backup
    StatusCheck the backup status
    - For more details, refer to Backup status
    Cluster nameName of the cluster associated with the backup
    Engine versionRedis OSS engine version of the backup source cluster
    Backup file sizeSize of the backup file
    Cache sizeCache size of the backup
    Backup start timeTime when the backup started
    [More]Restore, Copy, Export, Delete

    Automatic backup tab

    ItemDescription
    NameName of the backup
    StatusCheck the backup status
    - For more details, refer to Backup status
    Cluster nameName of the cluster associated with the backup
    Engine versionRedis OSS engine version of the backup source cluster
    Backup file sizeSize of the backup file
    Cache sizeCache size of the backup
    Backup start timeTime when the backup started
    Backup expiration timeTime when the backup expires and is deleted according to the backup retention period
    [More]Restore, Copy, Export, Delete

Configure automatic backup

Automatic backups are performed once a day at a specified time in the MemStore service.
They can be configured when creating a cluster or through automatic backup settings.
Automatic backup settings can only be configured when cluster mode is disabled and when the number of nodes is at least 2.

caution

During backup creation, changes to the source cluster nodes (add/delete/promote) or cluster deletion are not allowed.

During cluster creation

  1. Go to KakaoCloud Console > Data Store > MemStore menu.

  2. Click the [Create cluster] button.

  3. Enter the automatic backup setting information in the Create cluster screen, and then click the [Create] button.

    ItemCategoryDescription
    Automatic backupAutomatic backup optionSelect whether to enable the automatic backup option.
    When enabled, a backup is automatically performed once per day.
    Backup retention periodSelect the backup retention period, from a minimum of 1 day to a maximum of 35 days
    Automatic backup start timeSelect the start time for automatic backup. The backup will begin within 15 minutes of the selected time.

While managing a cluster

  1. Go to the MemStore menu on the KakaoCloud Console.

  2. In the Cluster menu, select the [More] icon for the cluster with automatic backup enabled, then select Set automatic backup.

  3. Configure the necessary values for automatic backup and click the [OK] button.

    ItemCategoryDescription
    Automatic backupAutomatic backup optionSelect whether to enable the automatic backup option. When enabled, a backup is automatically performed once per day.
    Backup retention periodSelect the backup retention period, from a minimum of 1 day to a maximum of 35 days
    Automatic backup start timeSelect the start time for automatic backup. The backup will begin within 15 minutes of the selected time.

Create manual backup

You can manually create a backup in the MemStore service.

info

Backups can currently be created only under the following conditions:

  • The cluster must be in Running status.
  • A Replica must be present.
  • No ongoing backup should exist for the cluster.
  • Backup is only supported when Cluster Mode is not in use.
  • There must be at least 2 nodes.
caution

During backup creation, changes to the source cluster nodes (add/delete/promote) or cluster deletion are not allowed.

  1. Go to KakaoCloud Console > Data Store > MemStore menu.
  2. In the Cluster menu, select the cluster to create a backup.
  3. Click the Backup menu and then click the [Create Backup] button.
  4. In the Create Backup popup, enter the required information and click the [Create] button.
  5. In the Backup menu, check the created backup file.

Restore

To use the restore function in the MemStore service, a backup must be created in advance. You can create a new cluster using the backup.

info

Restoration is available only when cluster mode is disabled.

caution

If the cache size of the source backup is greater than 60% of the memory of the target cluster flavor, the restoration may fail.

Restore from cluster details

  1. Go to the MemStore menu on the KakaoCloud Console.

  2. In the Cluster menu, select the cluster to use the backup.

  3. In the Backup menu, click the [More] icon of the backup you want to restore and select Restore.

  4. Enter the required information in the Restore screen and click the [Create] button.

    CategoryItemDescription
    Restore informationInformation of the backup file used for the restore. A new cluster will be created using the specified information.
    Cluster mode settingSelect whether to enable or disable cluster mode. Currently, only Disabled mode is supported for restoration.
    Basic settingsCluster nameName of the cluster
    - The same cluster name cannot be created within the same project
    Description (optional)Enter a description for the cluster (up to 100 characters)
    Redis compatibility settingsEngine versionSet the version of the Redis OSS engine to run on the node
    - When cluster mode is disabled, supports 7.2.6, 7.0.15, 6.2.16, 6.2.5, and 5.0.6.
    PortSet the port to be used for Redis access
    - - Default port: 6379
    - a desired port within the range of 2000 to 50000 can be specified
    User authenticationSelect whether to use user authentication for MemStore resource access
    If not used, access is possible with the default account. If used, access is possible with the entered ID and password.
    User account settingsIDEnter when using user authentication
    - Format: 1 to 32 characters, lowercase letters, and _ only
    * Reserved account names cannot be used.
    Password- Format: 8 to 16 characters
    - Cannot use Korean, spaces, or special characters /, ', ", @
    Parameter groupSelect the parameter group that matches the selected engine version and cluster mode
    Number of nodesNumber of nodesNumber of nodes to be created
    - When using high availability: Minimum 2 ~ Maximum 6, entered as an integer
    _ Creates 1 Primary node and 1 to 5 Replica nodes
    - When not using high availability: 1 ~ 6, entered as an integer
    _ Creates 1 Primary node and 0 to 5 Replica nodes
    Example: To create 1 Primary node and 2 Replica nodes, enter 3 in the number of nodes.
    High availabilitySelect whether to use high availability in the event of a node failure
    - If high availability is enabled, a new node is created and the node count is maintained when a node fails.
    Node typeSelect a node type that provides sufficient memory for optimal service performance
    - For more details, refer to Node type
    Network settingsVPCSelect one of the pre-created user VPCs
    SubnetSelect a pre-created user Subnet
    Security groupCreate a new Security Group or select an existing Security Group to apply to the cluster
    - Multiple selections possible
    Node placementSelect the Subnet where each node will be created based on the selected network settings
    Automatic backupAutomatic backup optionSelect whether to enable the automatic backup option. When enabled, a backup is automatically performed once per day
    Backup retention periodSelect the backup retention period, from a minimum of 1 day to a maximum of 35 days
    Automatic backup start timeSelect the start time for automatic backup. The backup will begin within 15 minutes of the selected time.

Restore from cluster creation

For more details, refer to Create cluster.

Copy

  1. Go to the MemStore menu on the KakaoCloud Console.
  2. In the Backup menu, select the backup you want to copy.
  3. Click the [Copy] button.
  4. In the Copy Backup screen, enter the name of the backup to be copied and click the [OK] button.

Export

  1. Go to the MemStore menu on the KakaoCloud Console.
  2. In the Backup menu, select the backup you want to export to Object Storage.
  3. Click the [Export] button.
  4. In the Export screen, enter the backup name and path to be exported, then click the [OK] button.
info

The total path, including the backup to be exported and the backup file path, can only be up to 396 bytes.

Delete backup

You can delete backups that are no longer needed.

caution

When a backup is deleted, it is completely returned, and the deletion cannot be undone.

  1. Go to the MemStore menu on the KakaoCloud Console.
  2. In the Cluster menu, select the cluster containing the backup you want to delete.
  3. In the Backup menu, click the [More] icon of the backup you want to delete and select Delete backup.
  4. In the Delete backup popup, enter the required information and click the [Delete] button.