This API is used to obtain the link for downloading a backup file.
This API is used to query full backups of MySQL, PostgreSQL, and Microsoft SQL Server databases and incremental backups of MySQL and PostgreSQL databases.
GET https://{Endpoint}/v3/{project_id}/backup-files?backup_id={backup_id}
Name |
Mandatory |
Description |
---|---|---|
project_id |
Yes |
Specifies the project ID of a tenant in a region. For details about how to obtain the project ID, see Obtaining a Project ID. |
backup_id |
Yes |
Specifies the backup ID. |
Name |
Type |
Description |
---|---|---|
files |
Array of objects |
Indicates the list of backup files. For details, see Table 3. |
bucket |
String |
Indicates the name of the bucket where the file is located. |
Name |
Type |
Description |
---|---|---|
name |
String |
Indicates the file name. |
size |
Long |
Indicates the file size in KB. |
download_link |
String |
Indicates the link for downloading the backup file. |
link_expired_time |
String |
Indicates the link expiration time. The format is "yyyy-mm-ddThh:mm:ssZ". T is the separator between the calendar and the hourly notation of time. Z indicates the time zone offset. |
database_name |
String |
Indicates the name of the database. If the backup file is not a database backup file, null is returned. |
{ "files": [ { "name": "43e4feaab48f11e89039fa163ebaa7e4br01.xxx", "size": 2803, "download_link":"https://obs.domainname.com/rdsbucket.username.1/xxxxxx", "link_expired_time":"2018-08-016T10:15:14+0800" } ], "bucket": "rdsbucket.bucketname" }
For details, see Abnormal Request Results.
For details, see Status Codes.
For details, see Error Codes.