Skip to main content

Manage backup

Backup is managed at the cluster level and is performed without stopping the cluster.

View backup list

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

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

  2. Click the Backup menu, then select either the Manual backup or Automated backup tab.

    Manual backup tab

    ItemDescription
    NameName of the backup
    StatusCheck backup status
    - See Backup status values for details
    Cluster nameName of the cluster associated with the backup
    Engine versionRedis OSS engine version of the source cluster
    Cluster modeWhether cluster mode is enabled. Restoration is only possible to clusters with the same mode
    Backup file sizeSize of the backup file
    Cache sizeSize of the backup cache
    Backup start timeTime when the backup started
    [⋮] buttonRestore, Copy, Export, Delete

    Automated backup tab

    ItemDescription
    NameName of the backup
    StatusCheck backup status
    - See Backup status values for details
    Cluster nameName of the cluster associated with the backup
    Engine versionRedis OSS engine version of the source cluster
    Cluster modeWhether cluster mode is enabled. Restoration is only possible to clusters with the same mode
    Backup file sizeSize of the backup file
    Cache sizeSize of the backup cache
    Auto backup retentionRetention period set for automatic backup of the cluster
    Backup expiration timeTime when backup expires and is deleted based on retention settings
    Backup start timeTime when the backup started
    [⋮] buttonRestore, Copy, Export, Delete

Configure automated backup

Automated backups in the MemStore service are performed once a day at a specified time. You can configure automated backup either during cluster creation or by editing the cluster settings later. Automated backups can only be enabled when the cluster has at least two healthy nodes. If you modify the retention period or start time while automated backup is enabled, the new settings will apply to backups created after the change.

During cluster creation

  1. Go to the KakaoCloud Console > Data Store > MemStore.
  2. Click the [Create cluster] button.
  3. Enter the automated backup settings, then click [Create].
ItemCategoryDescription
Automated backupAuto backup optionEnable or disable daily automated backup
Backup retention periodSet backup retention period (1–35 days)
Backup start timeTime when backup starts; begins within 15 minutes of selected time

While managing cluster

  1. Go to the KakaoCloud Console and select the MemStore menu.
  2. In the Cluster menu, click the [⋮] button of the target cluster and select Configure automated backup.
  3. Set the required values for automated backup and click [Confirm].
ItemCategoryDescription
Automated backupAuto backup optionEnable or disable daily automated backup
Backup retention periodSet backup retention period (1–35 days)
Backup start timeTime when backup starts; begins within 15 minutes of selected time

Create manual backup

You can manually create backups in the MemStore service.

  1. Go to the KakaoCloud Console > Data Store > MemStore.
  2. In the Cluster menu, select the cluster to back up.
  3. Click the Backup menu, then click the [Create backup] button.
  4. In the popup window, enter the required information and click [Create].
  5. Check the list of backup files in the Backup menu.

Restore

To use the restore feature in MemStore, a backup must exist. You can create a new cluster from a backup.

Note

You can only restore backups using the same cluster mode as the selected backup, and the Redis engine version must be the same or higher than that of the backup.

caution

If the cache size of the backup source exceeds 60% of the memory of the target cluster flavor, the restore may fail.

Restore from Cluster details

  1. Go to the KakaoCloud Console and select the MemStore menu.

  2. In the Cluster menu, select the cluster for which you want to use a backup.

  3. In the Backup tab, click the [⋮] button next to the desired backup and choose Restore.

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

    CategoryItemDescription
    Restore Source InfoInformation about the backup source file used for restoration. A new cluster will be created based on this info.
    Cluster Mode SettingWhether to use cluster mode
    Basic SettingsCluster NameName of the cluster
    Description (Optional)Description for the cluster, up to 100 characters
    Redis Compatibility SettingsEngine VersionRedis OSS engine version to be used for the nodes
    PortPort for Redis access
    - Default: 6379
    - Range: 2000 ~ 50000
    User AuthenticationWhether to enable user authentication
    Disabled: Access with default account
    Enabled: Access with entered ID and password
    User Account SettingsIDRequired if authentication is enabled
    * Reserved IDs are not allowed
    Password- Format: 8 ~ 16 characters
    Data Encryption (TLS)Whether to enable encrypted connections
    Disabled: Plain connection
    Enabled: Supports TLS 1.2
    - ca.crt file can be downloaded from cluster details after creation
    Parameter GroupChoose a parameter group compatible with the selected engine version and cluster mode
    Shard SettingsNumber of ShardsNumber of shards to create
    - Cannot be modified for cluster mode
    Nodes per ShardNumber of nodes per shard
    - Min 2, Max 5
    Node TypeChoose a node type with sufficient memory for performance
    - See Node Types
    Network SettingsVPCChoose from your pre-created VPCs
    SubnetChoose from your pre-created subnets
    - Multiple selection allowed
    Security GroupCreate or select a security group
    - Multiple selection allowed
    Shard PlacementSelect subnets for each node within a shard
    Automatic BackupBackup OptionWhether to enable automatic daily backup
    - Requires at least 2 nodes
    Backup Retention PeriodBetween 1 to 35 days
    Backup Start TimeBackup starts within 15 minutes of selected time

Restore from cluster creation

For more details, refer to Cluster Creation.

Copy

  1. Go to the KakaoCloud Console and navigate to the MemStore menu.
  2. Select the backup you want to copy from the Backup tab.
  3. Click the Copy button.
  4. In the Copy Backup popup, enter the new backup name and click Confirm.

Export

  1. Go to the KakaoCloud Console and navigate to the MemStore menu.

  2. From the Backup tab, select the backup you want to export to Object Storage.

  3. Click the Export button.

    ItemCategoryDescription
    Selected backup nameName of the selected backup
    Export backup nameName of the backup to be exported to Object Storage
    - If using cluster mode, append the shard number to the name to create one file per shard at the full Object Storage path
    Object StorageS3 ConnectionWhether to use S3
    - If not used, the path format should be swifta://. S3 support will be provided in the future
    Bucket nameThe bucket name created in Object Storage
    Path (optional)Directory within the bucket
    - Path must be less than or equal to 396 bytes
    Full pathCombined bucket and path where the backup will be stored
  4. In the Export popup, enter the backup name and destination path, then click Confirm.

Delete backup

You can delete automatic or manual backups that are no longer needed.

  1. Go to the KakaoCloud Console and navigate to the MemStore menu.
  2. From the Cluster tab, select the cluster containing the backup you want to delete.
  3. In the Backup tab, click the [⋮] button for the backup, then select Delete backup.
  4. In the Delete Backup popup, enter the required information and click Delete.