查看备份列表
List all AVAILABLE or CREATING backups. Note that this API only applies to dedicated clusters.
该 API 的 Base URL 格式如下:
https://api.cloud.zilliz.com.cn
export BASE_URL="https://api.cloud.zilliz.com.cn"
认证令牌,应为具备适当权限的 API 密钥。
The ID of the project to which the backup belongs.
The ID of the cluster to which the backup belongs.
Whether the backup is created manually or automatically.
The type of resources contained in the backup file.
The time at which Zilliz Cloud starts to make this backup.
The time at which Zilliz Cloud finishes making this backup.
The number of records to be displayed per page.
The page number to be displayed.
export TOKEN="YOUR_API_KEY"
curl --request GET \
--url "${BASE_URL}/v2/backups" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Content-Type: application/json"
Response code.
Response payload which is a list of backups.
The total number of backups returned.
The current page number.
The number of records per page.
A list of backups.
Inforamtion about a backup in detail.
The ID of the project that holds the backup.
The ID of the backup.
The name of the backup.
The type of resources contained in the backup.
Whether the backup is created manually or automatically.
The size of the backup in bytes.
The time at which the backup will be automatically deleted.
The ID of the cluster whose data has been backed up.
The name of the cluster whose data has been backed up.
The time at which the cluster has been created.
The status of the backup.
Returns an error message.
响应码。
错误描述。
{
"code": 0,
"data": {
"count": 1,
"currentPage": 1,
"pageSize": 10,
"backups": [
{
"projectId": "proj-xxxxxxxxxxxxxxxxxxxx",
"backupId": "backupx_xxxxxxxxxxxxxxxx",
"backupName": "Dedicated-01_backup1",
"backupType": "CLUSTER",
"creationMethod": "AUTO",
"size": 112,
"expireTime": "2024-08-30T16:49:50Z",
"clusterId": "inxx-xxxxxxxxxxxxxx",
"clusterName": "Dedicated-01",
"createTime": "2024-07-30T16:49:50Z",
"status": "AVAILABLE"
}
]
}
}