# Get UDB backup download address - DescribeUDBInstanceBackupURL

## Overview

Get UDB backup download address






## Definition

### Public Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Action**     | string  | Corresponding API command name, the current API is `DescribeUDBInstanceBackupURL`.                      | **Yes** |
| **PublicKey**  | string  | The user's public key can be obtained from [Console](https://console.dezai.com/uaccount/api_manage)                                             | **Yes** |
| **Signature**  | string  | User signature generated based on public key and API command, see [Signature Algorithm](/docs/api/summary/signature.md)  | **Yes** |

### Request Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Region** | string | Region. See [List of Regions and Availability Zones](/docs/api/summary/regionlist) |**Yes**|
| **Zone** | string | Availability Zone. See [Availability Zone List](/docs/api/summary/regionlist) |No|
| **ProjectId** | string | Project ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the [GetProjectList interface](/docs/api/summary/get_project_list). |No|
| **DBId** | string | DB Instance Id, this value can be obtained through DescribeUDBInstance |**Yes**|
| **BackupId** | int | DB Instance Backup ID, this value can be obtained through DescribeUDBBackup |**Yes**|
| **ValidTime** | int | Expiration time of URL in DB response, the minimum default value is 4 hours, and the maximum is 7 days. If not filled, the default is four hours. (Unit/Second) |No|

### Response Field

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **RetCode** | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. |**Yes**|
| **Action** | string | Operation command name. |**Yes**|
| **Message** | string | Returns an error message, providing detailed description when `RetCode` is non-zero. |No|
| **BackupPath** | string | Public network address of the DB instance backup file |No|
| **InnerBackupPath** | string | Intranet address of the DB instance backup file |No|
| **MD5** | string | MD5 value of the backup file |No|




## Example

### Request Example
    
```
https://api.dezai.com/?Action=DescribeUDBInstanceBackupURL
&Region=cn-bj2
&DBId=udb-xxx
&BackupId=1234
&ValidTime=5
&ValidTime=8
```

### Response Example
    
```json
{
  "Action": "DescribeUDBInstanceBackupURLResponse",
  "BackupPath": "http://udbbackup.ufile.ucloud.cn/bbasd?UCloudPublicKey=ucloududb@ucloud.cn1426152414000604875621",
  "InnerBackupPath": "ZDblezgJ",
  "Md5": "SltVqrDH",
  "RetCode": 0
}
```





