Manage backup
Backups are managed at the cluster level and are performed without stopping the cluster.
View backup list
You can view the list of backups created in MemStore for the corresponding project.
- Go to KakaoCloud Console > Data Store > MemStore.
- Click the Backup menu and select either the Manual backups or Automated backups tab.
Manual backups tab
Item | Description |
---|---|
Name | Name of the backup |
Status | Check the backup status - For more details, refer to Backup status |
Cluster name | Name of the associated cluster |
Engine version | Redis OSS engine version of the source cluster |
Cluster mode | Whether cluster mode is enabled. Can only be restored to a cluster with the same mode |
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 |
Automated backups tab
Item | Description |
---|---|
Name | Name of the backup |
Status | Check the backup status - For more details, refer to Backup status |
Cluster name | Name of the associated cluster |
Engine version | Redis OSS engine version of the source cluster |
Cluster mode | Whether cluster mode is enabled. Can only be restored to a cluster with the same mode |
Backup file size | Size of the backup file |
Cache size | Cache size of the backup |
Backup retention period | Retention period configured on the cluster |
Backup expiration time | Time when the backup is deleted after retention period |
Backup start time | Time when the backup started |
[More] | Restore, Copy, Export, Delete |
Configure automated backup
Automated backups run once daily at a specified time. You can configure them during cluster creation or through the cluster management menu. This setting is available only when the number of nodes is at least 2. When changing the backup retention period or start time while the automated backup option is enabled, the changes apply to newly created backups going forward.
While a backup is being created, you cannot add/delete/promote nodes or delete the cluster.
During cluster creation
- Go to KakaoCloud Console > Data Store > MemStore.
- Click Create Cluster.
- Fill in the automated backup settings and click Create.
Item | Category | Description |
---|---|---|
Automated backups | Backup option | Whether to enable daily automated backups |
Retention period | Choose from 1 to 35 days | |
Backup start time | Backup starts within 15 minutes of the selected time |
While managing a cluster
- Go to KakaoCloud Console > Data Store > MemStore.
- In the Cluster menu, click the [More] icon for the target cluster > Set automated backup.
- Enter the required values and click OK.
Item | Category | Description |
---|---|---|
Automated backups | Backup option | Whether to enable daily automated backups |
Retention period | Choose from 1 to 35 days | |
Backup start time | Backup starts within 15 minutes of the selected time |
Create manual backup
You can manually create a backup in MemStore under the following conditions:
- The cluster must be in
Running
state - A replica must exist
- No other backup in progress
- There must be at least 2 nodes
While a backup is being created, you cannot add/delete/promote nodes or delete the cluster.
- Go to KakaoCloud Console > Data Store > MemStore.
- Select the cluster where the backup will be created.
- Click the Backup menu, then click Create Backup.
- Fill in the required information in the popup and click Create.
- Check the created backup file from the Backup menu.
Restore
To use the restore function, a backup must be created beforehand. You can create a new cluster from the selected backup file.
- Restoration is only possible in the same cluster mode as the backup.
- Restoration supports the same or higher Redis engine version than the backup.
Restore may fail if the cache size of the source backup exceeds 60% of the memory of the target cluster flavor.
Restore from cluster details
- Go to KakaoCloud Console > Data Store > MemStore.
- Select the cluster using the backup.
- In the Backup menu, click [More] for the target backup > Restore.
- Fill in the restore information and click Create.
- With cluster mode
- Without cluster mode
Restore from cluster creation
For details, refer to Create cluster.
Copy
- Go to KakaoCloud Console > Data Store > MemStore.
- In the Backup menu, select the backup to copy.
- Click Copy.
- Enter the name of the new backup and click OK.
Export
- Go to KakaoCloud Console > Data Store > MemStore.
- In the Backup menu, select the backup to export to Object Storage.
- Click Export.
Item | Category | Description |
---|---|---|
Selected backup | - | Name of the selected backup |
Export backup name | - | Name of the backup in Object Storage - If using cluster mode, add shard number to the name to generate files for each shard |
Object Storage | S3 connection | Whether to use S3 - If not used, use swifta:// path format. S3 support will be added later |
Bucket name | Name of the bucket in Object Storage | |
Path (optional) | Subdirectory under the bucket (must be within 396 bytes) | |
Full path | Full path combining bucket and directory |
- Enter export name and path, then click OK.
If export fails, check Cloud Trail for details.
Delete backup
You can delete backups that are no longer needed.
Once deleted, the backup is completely returned and cannot be recovered.
- Go to KakaoCloud Console > Data Store > MemStore.
- In the Cluster menu, select the cluster containing the backup.
- In the Backup menu, click the [More] icon of the target backup > Delete backup.
- In the popup, fill in the required information and click Delete.