Export Backup Files
Export the backup files from a cluster to storage specified by an integration ID.
The base URL for this API is in the following format:
https://api.cloud.zilliz.com
The endpoints on the control plane currently supports up to 20 requests per second per user per endpoint.
export BASE_URL="https://api.cloud.zilliz.com"
The authentication token should be an API key with appropriate privileges.
The ID of the cluster that needs to be backed up.
The ID of the backup in concern.
The ID of the integrated external storage that the backup files will be exported to. For how to integrate an AWS S3 block storage service into Zilliz Cloud, refer to the documentation. For how to obtain the integration ID, refer to the documentation.
The directory in the specified external storage where the backup files will be exported to.
export TOKEN="YOUR_API_KEY"
export CLUSTER_ID="inxx-xxxxxxxxxxxxxxx"
export BACKUP_ID="backup-xxxxxxxxxxxxxxx"
curl --request POST \
--url "${BASE_URL}/v2/clusters/${CLUSTER_ID}/backups/${BACKUP_ID}/export" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Content-Type: application/json" \
-d '{
"integrationId": "integ-xxxxxxx",
"directory": "destdir/"
}'
Response code.
Response payload which is the ID of the export job created to export the backup files.
The ID of the export job created to export the backup files.
Returns an error message.
Response code.
Error message.
{
"code": 0,
"data": {
"jobId": "job-0396450098cglufig6afm9"
}
}