查看备份列表

最近更新时间:2019-12-20 17:18:46

查看备份列表

接口描述

查看一个SQLServer实例的备份列表

Action: DescribeDBBackups

Version: 2019-04-25

请求方法: GET

请求参数

参数名称 参数描述 是否必填 参数类型 取值范围 样例
DBInstanceIdentifier 实例Id String UUID类型 1de3cacc-71f1-4f55-8bd6-c26c27fd4c7c
Marker 获取记录开始偏移量 Integer 整型,默认值0 0
MaxRecords 每页结果中包含的最大条数 Integer 取值范围[10,100],默认为10 30

请求示例

http://sqlserver.api.ksyun.com/?Action=DescribeDBBackups&Version=2019-04-25
&DBInstanceIdentifier=bb2d111a-af44-41ee-b10d-754f23bc59e1

返回参数说明

DBBackup数据结构:

字段名称 字段描述
DBInstanceIdentifier RDS实例Id
DBBackupIdentifier 备份Id
Engine 数据库引擎
EngineVersion 数据库引擎版本
BackupCreateTime 备份创建时间
BackupUpdatedTime 备份记录更新时间
DBBackupName 备份名称
BackupType 备份类型
Status 备份状态
BackupSize 备份大小,单位:MB
RemotePath 备份远程下载地址,有效时间:30分钟

返回值:

字段名称 字段描述
Data 数据部分
RequestId 唯一标志符
Marker 获取记录开始偏移量
MaxRecords 每页结果中包含的最大条数
TotalCount 记录总条数
DBBackup DBBackup数据结构

返回样例

{
    "Data": {
        "Marker": 10,
        "TotalCount": 4,
        "MaxRecords": 10,
        "DBBackup": [
            {
                "Engine": "mysql",
                "BackupUpdatedTime": "2017-02-22T15:22:11+0800",
                "BackupLocationRef": "/data/snapshot/58cef70d-1ec3-4d87-bd4a-67a0d38bc4b2/34446452-9af9-4323-8a15-3216c6d8a570",
                "BackupCreateTime": "2017-02-22T15:22:11+0800",
                "DBBackupIdentifier": "34446452-9af9-4323-8a15-3216c6d8a570",
                "BackupMode": "FULL_AMOUNT_BACKUP",
                "Status": "COMPLETED",
                "BackupType": "Snapshot",
                "DBBackupName": "test1",
                "EngineVersion": "5.5",
                "BackupSize": 1.4,
                "DBInstanceIdentifier": "244fa411-8ebb-4588-a258-e8f8f00b3283",
                "RemotePath": "http://ks3-cn-shanghai.ksyun.com/krds-shanghai-test/rds/openstack/lxc_data/c7f3c2487eb34bbbbad16f76da2e2eb7/backup/e5341865-d181-4674-aa47-d8926a8f2717/965859da-0950-49da-bdab-67da80fd7975/965859da-0950-49da-bdab-67da80fd7975.xbstream?AccessKeyId=bCPubcaLG5jstVnENKm%2F&Expires=1530087146&Signature=NnIGRXLlM3TvcL3SeZpfqNvd95w%3D"
            },
            {
                "Engine": "mysql",
                "BackupUpdatedTime": "2017-02-21T23:25:35+0800",
                "BackupLocationRef": "/data/incremental/58cef70d-1ec3-4d87-bd4a-67a0d38bc4b2/e70eb37f-530f-4c09-8105-6bbcf8b1cc2f",
                "BackupCreateTime": "2017-02-21T23:25:35+0800",
                "DBBackupIdentifier": "e70eb37f-530f-4c09-8105-6bbcf8b1cc2f",
                "BackupMode": "INCREMENTAL_BACKUP",
                "Status": "COMPLETED",
                "BackupType": "AutoBackup",
                "DBBackupName": "autobackup-20170221232535",
                "ParentId": "72d4561d-8d64-4ed2-ba9a-b7805d4bdc12",
                "EngineVersion": "5.5",
                "BackupSize": 1.02,
                "DBInstanceIdentifier": "244fa411-8ebb-4588-a258-e8f8f00b3283",
                "RemotePath": "http://ks3-cn-shanghai.ksyun.com/krds-shanghai-test/rds/openstack/lxc_data/c7f3c2487eb34bbbbad16f76da2e2eb7/backup/e5341865-d181-4674-aa47-d8926a8f2717/965859da-0950-49da-bdab-67da80fd7975/965859da-0950-49da-bdab-67da80fd7975.xbstream?AccessKeyId=bCPubcaLG5jstVnENKm%2F&Expires=1530087146&Signature=NnIGRXLlM3TvcL3SeZpfqNvd95w%3D"
            }
        ]
    },
    "RequestId": "333f7691-02e5-41d6-aad7-7266b580659f"
}

金山云,开启您的云计算之旅

免费注册