Available in VPC
Note
Cloud DB for Cache CLI offers two versions based on the supported DBMS range.
- getCloudCacheBackupList CLI: Support for Valkey and Redis DBMS
- getCloudRedisBackupList CLI: Support for Redis DBMS
getCloudCacheBackupList CLI
This section describes the request and response formats for the getCloudCacheBackupList CLI.
Request
Request parameters
| Parameter name | Required | Type | Restrictions | Description |
|---|---|---|---|---|
| regionCode | No | String | - Region code Determine the Region in which the Cloud DB for Cache backup list will be queried. You can obtain regionCode through the getRegionList action. Default: Select the first Region of the getRegionList search results. |
|
| output | No | String | - Format type of the response result Options: xml | json Default: json |
Response
Response data type
- CloudCacheBackupList type
| CloudCacheBackupList extends CommonResponse |
|---|
| private Integer totalRows; |
| private List<CloudCacheBackup> cloudCacheInstanceList = new ArrayList<>(); |
| CloudCacheBackup |
|---|
| private String cloudCacheInstanceNo; |
| private String cloudCacheServiceName; |
| private Integer backupFileRetentionPeriod; |
| private String backupTime; |
| private Long backupSize; |
| private Date lastBackupDate; |
| private CommonCode backupType; |
| private Integer shardCount; |
Examples
Call examples
ncloud vcache getCloudCacheBackupList --regionCode KR
Response example
<getCloudCacheBackupListResponse>
<requestId>94edea29-9c1e-44f5-9e9c-120f22688ca1</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<cloudCacheBackupList>
<cloudCacheBackup>
<cloudCacheInstanceNo>****890</cloudCacheInstanceNo>
<cloudCacheServiceName>test-****</cloudCacheServiceName>
<backupFileRetentionPeriod>1</backupFileRetentionPeriod>
<backupTime>00:30</backupTime>
<backupSize>302</backupSize>
<lastBackupDate>2021-05-25T00:00:00+0900</lastBackupDate>
<backupType>
<code>SIMPLE</code>
<codeName>CLOUD CACHE(VPC) Cluster Backup Type</codeName>
</backupType>
<shardCount>1</shardCount>
</cloudCacheBackup>
</cloudCacheBackupList>
</getCloudCacheBackupListResponse>