Available in VPC
Get the backup list of a Cloud DB for MSSQL instance.
Syntax
The getCloudMssqlBackupList syntax is as follows:
./ncloud vmssql getCloudMssqlBackupList \
[--pageNo <page-no>] \
[--pageSize <page-size>] \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
Options
This section describes the options available when running getCloudMssqlBackupList.
Required options
The following options are required for getCloudMssqlBackupList.
| Options | Type | Required | Description |
|---|---|---|---|
--pageSize |
Integer | Conditional | Number of items per page
|
Optional options
These are the optional options for getCloudMssqlBackupList. Options that are not specified will use their default values.
| Options | Type | Required | Description |
|---|---|---|---|
--pageNo |
Integer | Optional | Page number
|
Common options
For information about the options common to all vmssql subcommands, see Cloud DB for MSSQL (VPC) options.
Examples
If the request to retrieve the Cloud DB for MSSQL backup list is successful, the backup configuration information for each instance is returned.
Command
The command example is as follows:
./ncloud vmssql getCloudMssqlBackupList \
--pageNo 0 \
--pageSize 10 \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"getCloudMssqlBackupListResponse": {
"totalRows": 1,
"cloudMssqlBackupList": [
{
"cloudMssqlInstanceNo": 25280088,
"cloudMssqlServiceName": "test-mssql-01",
"backupFileRetentionPeriod": 1,
"backupTime": "09:00",
"totalBackupDataSize": 4097348,
"fullBackupDataSize": 4097348,
"logBackupDataSize": 0,
"logBackupCount": 0
}
],
"requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"returnCode": "0",
"returnMessage": "success"
}
}