Manage backup
Backups are managed at the cluster level and are performed without stopping the cluster.
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.
-
Go to KakaoCloud Console > Data Store > MemStore menu.
-
Click the Backup menu and select either the Manual backup or Automatic backup tab.
Item Description Name Name of the backup Status Check the backup status
- For more details, refer to Backup statusCluster name Name of the cluster associated with the backup Engine version Redis OSS engine version of the backup source cluster Backup file size Size of the backup file Cache size Cache size of the backup Backup start time Time when the backup started [More] Restore, Copy, Export, Delete Automatic backup tab
Item Description Name Name of the backup Status Check the backup status
- For more details, refer to Backup statusCluster name Name of the cluster associated with the backup Engine version Redis OSS engine version of the backup source cluster Backup file size Size of the backup file Cache size Cache size of the backup Backup start time Time when the backup started Backup expiration time Time 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.
During backup creation, changes to the source cluster nodes (add/delete/promote) or cluster deletion are not allowed.
During cluster creation
-
Go to KakaoCloud Console > Data Store > MemStore menu.
-
Click the [Create cluster] button.
-
Enter the automatic backup setting information in the Create cluster screen, and then click the [Create] button.
Item Category Description Automatic backup Automatic backup option Select whether to enable the automatic backup option.
When enabled, a backup is automatically performed once per day.Backup retention period Select the backup retention period, from a minimum of 1 day to a maximum of 35 days Automatic backup start time Select the start time for automatic backup. The backup will begin within 15 minutes of the selected time.
While managing a cluster
-
Go to the MemStore menu on the KakaoCloud Console.
-
In the Cluster menu, select the [More] icon for the cluster with automatic backup enabled, then select Set automatic backup.
-
Configure the necessary values for automatic backup and click the [OK] button.
Item Category Description Automatic backup Automatic backup option Select whether to enable the automatic backup option. When enabled, a backup is automatically performed once per day. Backup retention period Select the backup retention period, from a minimum of 1 day to a maximum of 35 days Automatic backup start time Select 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.
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.
During backup creation, changes to the source cluster nodes (add/delete/promote) or cluster deletion are not allowed.
- Go to KakaoCloud Console > Data Store > MemStore menu.
- In the Cluster menu, select the cluster to create a backup.
- Click the Backup menu and then click the [Create Backup] button.
- In the Create Backup popup, enter the required information and click the [Create] button.
- 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.
Restoration is available only when cluster mode is disabled.
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
-
Go to the MemStore menu on the KakaoCloud Console.
-
In the Cluster menu, select the cluster to use the backup.
-
In the Backup menu, click the [More] icon of the backup you want to restore and select Restore.
-
Enter the required information in the Restore screen and click the [Create] button.
Category Item Description Restore information Information of the backup file used for the restore. A new cluster will be created using the specified information. Cluster mode setting Select whether to enable or disable cluster mode. Currently, only Disabled
mode is supported for restoration.Basic settings Cluster name Name of the cluster
- The same cluster name cannot be created within the same projectDescription (optional) Enter a description for the cluster (up to 100 characters) Redis compatibility settings Engine version Set the version of the Redis OSS engine to run on the node
- When cluster mode is disabled, supports7.2.6
,7.0.15
,6.2.16
,6.2.5
, and5.0.6
.Port Set the port to be used for Redis access
- - Default port: 6379
- a desired port within the range of 2000 to 50000 can be specifiedUser authentication Select 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 settings ID Enter 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 group Select the parameter group that matches the selected engine version and cluster mode Number of nodes Number of nodes Number 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, enter3
in the number of nodes.High availability Select 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 type Select a node type that provides sufficient memory for optimal service performance
- For more details, refer to Node typeNetwork settings VPC Select one of the pre-created user VPCs Subnet Select a pre-created user Subnet Security group Create a new Security Group or select an existing Security Group to apply to the cluster
- Multiple selections possibleNode placement Select the Subnet where each node will be created based on the selected network settings Automatic backup Automatic backup option Select whether to enable the automatic backup option. When enabled, a backup is automatically performed once per day Backup retention period Select the backup retention period, from a minimum of 1 day to a maximum of 35 days Automatic backup start time Select 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
- Go to the MemStore menu on the KakaoCloud Console.
- In the Backup menu, select the backup you want to copy.
- Click the [Copy] button.
- In the Copy Backup screen, enter the name of the backup to be copied and click the [OK] button.
Export
- Go to the MemStore menu on the KakaoCloud Console.
- In the Backup menu, select the backup you want to export to Object Storage.
- Click the [Export] button.
- In the Export screen, enter the backup name and path to be exported, then click the [OK] button.
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.
When a backup is deleted, it is completely returned, and the deletion cannot be undone.
- Go to the MemStore menu on the KakaoCloud Console.
- In the Cluster menu, select the cluster containing the backup you want to delete.
- In the Backup menu, click the [More] icon of the backup you want to delete and select Delete backup.
- In the Delete backup popup, enter the required information and click the [Delete] button.