Available in VPC
Create a Cloud DB for Cache manual backup.
Cloud DB for Cache CLI offers two versions based on the supported DBMS range.
- createCloudCacheManualBackup CLI: Support for Valkey and Redis DBMS
- createCloudRedisManualBackup CLI: Support for Redis DBMS
createCloudCacheManualBackup CLI
This section describes the command syntax, options, commands, and output examples for the createCloudCacheManualBackup CLI.
Syntax
The createCloudCacheManualBackup syntax is as follows:
./ncloud vcache createCloudCacheManualBackup \
--cloudCacheInstanceNo <instance-no> \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
Options
This section describes the options available when running createCloudCacheManualBackup.
Required options
The following options are required for createCloudCacheManualBackup.
| Options | Type | Required | Description |
|---|---|---|---|
--cloudCacheInstanceNo |
String | Required | Cloud DB for Cache instance number |
Common options
For information about the options common to all vcache subcommands, see Cloud DB for Cache (VPC) options.
Examples
If the request to create a manual backup is successful, a manual backup of the Cloud DB for Cache instance will be created.
Command
The command example is as follows:
./ncloud vcache createCloudCacheManualBackup \
--cloudCacheInstanceNo 34567890 \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"createCloudCacheManualBackupResponse": {
"requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"returnCode": "0",
"returnMessage": "success"
}
}
createCloudRedisManualBackup CLI
This section describes the command syntax, options, commands, and output examples for the createCloudRedisManualBackup CLI.
Syntax
The createCloudRedisManualBackup syntax is as follows:
./ncloud vredis createCloudRedisManualBackup \
--cloudRedisInstanceNo <instance-no> \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
Options
This section describes the options available when running createCloudRedisManualBackup.
Required options
The following options are required for createCloudRedisManualBackup.
| Options | Type | Required | Description |
|---|---|---|---|
--cloudRedisInstanceNo |
String | Required | Cloud DB for Cache instance number |
Common options
For information about the options common to all vredis subcommands, see Cloud DB for Cache (VPC) options.
Examples
If the request to create a manual backup is successful, a manual backup of the Cloud DB for Cache instance will be created.
Command
The command example is as follows:
./ncloud vredis createCloudRedisManualBackup \
--cloudRedisInstanceNo 34567890 \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"createCloudRedisManualBackupResponse": {
"requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"returnCode": "0",
"returnMessage": "success"
}
}