Available in VPC
Delete a Cloud DB for Cache manual backup.
Cloud DB for Cache CLI offers two versions based on the supported DBMS range.
- deleteCloudCacheManualBackup CLI: Support for Valkey and Redis DBMS
- deleteCloudRedisManualBackup CLI: Support for Redis DBMS
deleteCloudCacheManualBackup CLI
This section describes the command syntax, options, commands, and output examples for the deleteCloudCacheManualBackup CLI.
Syntax
The deleteCloudCacheManualBackup syntax is as follows:
./ncloud vcache deleteCloudCacheManualBackup \
--cloudCacheInstanceNo <instance-no> \
--fileNameList <backup-file-name-list> \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
Options
This section describes the options available when running deleteCloudCacheManualBackup.
Required options
The following options are required for deleteCloudCacheManualBackup.
| Options | Type | Required | Description |
|---|---|---|---|
--cloudCacheInstanceNo |
String | Required | Cloud DB for Cache instance number |
--fileNameList |
List | Required | List of backup file names
|
Common options
For information about the options common to all vcache subcommands, see Cloud DB for Cache (VPC) options.
Examples
If the request to delete a manual backup is successful, the manual backup of the Cloud DB for Cache instance will be deleted.
Command
The command example is as follows:
./ncloud vcache deleteCloudCacheManualBackup \
--cloudCacheInstanceNo 34567890 \
--fileNameList 202606101507 202606110207 \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"deleteCloudCacheManualBackupResponse": {
"requestId": "d4e5f6a7-b8c9-0123-defa-456789012345",
"returnCode": "0",
"returnMessage": "success"
}
}
deleteCloudRedisManualBackup CLI
This section describes the command syntax, options, commands, and output examples for the deleteCloudRedisManualBackup CLI.
Syntax
The deleteCloudRedisManualBackup syntax is as follows:
./ncloud vredis deleteCloudRedisManualBackup \
--cloudRedisInstanceNo <instance-no> \
--fileNameList <backup-file-name-list> \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
Options
This section describes the options available when running deleteCloudRedisManualBackup.
Required options
The following options are required for deleteCloudRedisManualBackup.
| Options | Type | Required | Description |
|---|---|---|---|
--cloudRedisInstanceNo |
String | Required | Cloud DB for Cache instance number |
--fileNameList |
List | Required | List of backup file names
|
Common options
For information about the options common to all vredis subcommands, see Cloud DB for Cache (VPC) options.
Examples
If the request to delete a manual backup is successful, the manual backup of the Cloud DB for Cache instance will be deleted.
Command
The command example is as follows:
./ncloud vredis deleteCloudRedisManualBackup \
--cloudRedisInstanceNo 34567890 \
--fileNameList 202606261037 202606260959 \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"deleteCloudRedisManualBackupResponse": {
"requestId": "d4e5f6a7-b8c9-0123-defa-456789012345",
"returnCode": "0",
"returnMessage": "success"
}
}