Downloading a Backup File
Scenarios
This section describes how to download a manual or an automated backup for local storage.
RDS for MySQL allows you to download full backup files in .qp format.
Using Download URL
- Log in to the management console.
- Click
in the upper left corner and select a region and a project.
- Click Service List. Under Database, click Relational Database Service.
- On the Backups page, locate the backup to be downloaded and click Download in the Operation column.
Alternatively, click the target DB instance. In the navigation pane on the left, choose Backups & Restorations. On the Full Backups page, locate the target backup to be downloaded and click Download in the Operation column.
- In the displayed dialog box, select Use Download URL for Download Method, click
to copy the URL, and enter the URL in your browser.
A valid URL for downloading the backup data is displayed.
- You can use various download tools to download backup files.
- You can also run the following command to download backup files:
wget -O FILE_NAME --no-check-certificate "DOWNLOAD_URL"
The parameters in the command are as follows:
FILE_NAME: indicates the new backup file name after the download is successful. The original backup file name may be too long and exceed the maximum characters allowed by the client file system. You are advised to use the -O argument with wget to rename the backup file.
DOWNLOAD_URL: indicates the location of the backup file to be downloaded. If the location contains special characters, escape is required.
- Restore data locally as required by referring to Restoring Data to a Self-Managed MySQL Database.
- Scenarios
- Using Download URL