Available in VPC
Get the restorable time of a Cloud DB for MySQL instance.
Syntax
The getCloudMysqlRecoveryTime syntax is as follows:
./ncloud vmysql getCloudMysqlRecoveryTime \
--cloudMysqlInstanceNo <instance-no> \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
Options
This section describes the options available when running getCloudMysqlRecoveryTime.
Required options
The following options are required for getCloudMysqlRecoveryTime.
| Options | Type | Required | Description |
|---|---|---|---|
--cloudMysqlInstanceNo |
String | Required | Cloud DB for MySQL instance number |
Common options
For information about the options common to all vmysql subcommands, see Cloud DB for MySQL (VPC) options.
Examples
If the request to retrieve the recovery window for Cloud DB for MySQL is successful, the start and end times of the recovery window are returned.
Command
The command example is as follows:
./ncloud vmysql getCloudMysqlRecoveryTime \
--cloudMysqlInstanceNo 12345678 \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"getCloudMysqlRecoveryTimeResponse": {
"recoveryStartTime": "2026-06-04T17:13:00+0900",
"recoveryEndTime": "2026-06-04T17:17:00+0900",
"requestId": "e5f6a7b8-c9d0-1234-efab-567890123456",
"returnCode": "0",
"returnMessage": "success"
}
}