全部文档
当前文档

暂无内容

如果没有找到您期望的内容,请尝试其他搜索词

文档中心

查看备份列表

最近更新时间:2020-04-24 16:16:32

查看备份列表

查看指定PostgreSQL实例的备份列表。

请求参数

英文名称 中文名称 类型 是否必须 备注
Action 调用接口名称 String 取固定值:DescribeDBBackups
Version API版本号 String 取固定值:2018-12-25
DBInstanceIdentifier 实例Id String
BackupType 备份类型 String 取值范围:AutoBackup(自动产生的备份)、Snapshot(手动发起的备份)
Keyword 备份搜索关键字(根据备份名字) String
Marker 获取记录开始偏移量 Integer
MaxRecords 每页结果中包含的最大条数 Integer 取值范围[10,100],默认为10

返回值

RequestId

请求ID

  • 类型:String

DBBackup

备份model

  • 类型:DBBackup

Marker

获取记录开始偏移量

  • 类型:String

MaxRecords

每页结果中包含的最大条数

  • 类型:Integer

TotalCount

记录总数

  • 类型:Integer

请求示例

http://postgresql.api.ksyun.com
/?Action=DescribeDBBackups
&Version=2018-12-25
&DBInstanceIdentifier=bb2d111a-af44-41ee-b10d-754f23bc59e1

示例返回

{
    "Data": {
        "DBBackup": [
            {
                "DBInstanceIdentifier": "6f874be9-9477-4bea-a3a7-7040251eb683",
                "DBBackupIdentifier": "a69da0b5-769d-4f33-862b-d388f0aa4307",
                "Engine": "postgresql",
                "EngineVersion": "10",
                "BackupCreateTime": "2020-04-24T02:25:02+0800",
                "BackupUpdatedTime": "2020-04-24T02:25:02+0800",
                "DBBackupName": "autobackup-20200424022501",
                "BackupMode": "FULL_AMOUNT_BACKUP",
                "BackupType": "AutoBackup",
                "Status": "COMPLETED",
                "BackupSize": 2.72,
                "BackupLocationRef": "/ks3nosplit/backup/d2b1a0a5-f39c-45bd-8061-d3c3fab057ee/a69da0b5-769d-4f33-862b-d388f0aa4307",
                "RemotePath": "http://ks3-cn-beijing.ksyun.com/krds-beijing6-vpc/rds/openstack/lxc_data/9cffad0baac44985b790995f31de23c0/backup/d2b1a0a5-f39c-45bd-8061-d3c3fab057ee/a69da0b5-769d-4f33-862b-d388f0aa4307/a69da0b5-769d-4f33-862b-d388f0aa4307.tar.gz?AccessKeyId=bCPubcaLG5jstVnENKm%2F&Expires=1587698704&Signature=PdPjaR%2BAUs4uLaTWN%2BQfV7l0ToE%3D",
                "MD5": "4eb8e09ebe371e33a0d05d2cd68efaec"
            },
            {
                "DBInstanceIdentifier": "6f874be9-9477-4bea-a3a7-7040251eb683",
                "DBBackupIdentifier": "f0c31242-fb31-4094-b092-9b0e4aafae76",
                "Engine": "postgresql",
                "EngineVersion": "10",
                "BackupCreateTime": "2020-04-23T02:24:12+0800",
                "BackupUpdatedTime": "2020-04-23T02:24:12+0800",
                "DBBackupName": "autobackup-20200423022411",
                "BackupMode": "FULL_AMOUNT_BACKUP",
                "BackupType": "AutoBackup",
                "Status": "COMPLETED",
                "BackupSize": 2.72,
                "BackupLocationRef": "/ks3nosplit/backup/d2b1a0a5-f39c-45bd-8061-d3c3fab057ee/f0c31242-fb31-4094-b092-9b0e4aafae76",
                "RemotePath": "http://ks3-cn-beijing.ksyun.com/krds-beijing6-vpc/rds/openstack/lxc_data/9cffad0baac44985b790995f31de23c0/backup/d2b1a0a5-f39c-45bd-8061-d3c3fab057ee/f0c31242-fb31-4094-b092-9b0e4aafae76/f0c31242-fb31-4094-b092-9b0e4aafae76.tar.gz?AccessKeyId=bCPubcaLG5jstVnENKm%2F&Expires=1587698704&Signature=iQTD7R9COewL3v2cqNxkamON6Uc%3D",
                "MD5": "3cbab005c0bc2f868dd3fcdd78cbc0aa"
            }
        ],
        "TotalCount": 2,
        "MaxRecords": 10
    },
    "RequestId": "a66db0c6-1566-4660-b594-1fa1297817d2"
}
文档导读
纯净模式常规模式

纯净模式

点击可全屏预览文档内容
文档反馈