Available in VPC
Note
Cloud DB for Cache CLI offers two versions based on the supported DBMS range.
- getCloudCacheManualBackupList CLI: Support for Valkey and Redis DBMS
- getCloudRedisManualBackupList CLI: Support for Redis DBMS
getCloudCacheManualBackupList CLI
This section describes the request and response formats for the getCloudCacheManualBackupList CLI.
Request
Request parameters
| Parameter name | Required | Type | Restrictions | Description |
|---|---|---|---|---|
| regionCode | No | String | - Region code regionCode can be obtained 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 getCloudCacheManualBackupList --regionCode KR
Response example
{
"getCloudCacheManualBackupListResponse": {
"requestId": "7add8ece-0259-467d-bdc7-de214f51c93d",
"returnCode": "0",
"returnMessage": "success",
"totalRows": 1,
"cloudCacheBackupList": [
{
"cloudCacheInstanceNo": "2360***",
"cloudCacheServiceName": "cxcs***",
"backupTime": "14:10",
"backupSize": 906,
"lastBackupDate": "2022-05-18T00:00:00+0900",
"backupType": {
"code": "CLUSTER",
"codeName": "CLOUD CACHE(VPC) Cluster Backup Type"
},
"shardCount": 3
}
]
}
}
<getCloudCacheManualBackupListResponse>
<requestId>428ce123-d4cf-4805-8810-f243d5c6f65f</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<cloudCacheBackupList>
<cloudCacheBackup>
<cloudCacheInstanceNo>2360***</cloudCacheInstanceNo>
<cloudCacheServiceName>cxcs***</cloudCacheServiceName>
<backupTime>16:25</backupTime>
<backupSize>302</backupSize>
<lastBackupDate>2022-05-16T00:00:00+0900</lastBackupDate>
<backupType>
<code>CLUSTER</code>
<codeName>CLOUD CACHE(VPC) Cluster Backup Type</codeName>
</backupType>
<shardCount>3</shardCount>
</cloudCacheBackup>
</cloudCacheBackupList>
</getCloudCacheManualBackupListResponse>