Downloading a Backup File
Scenarios
This section describes how to download a manual backup or an automated backup to a local device and restore data from the backup file.
Constraints
- If the size of the backup data is greater than 400 MB, you are advised to use OBS Browser+ to download the backup data.
Method 1: Using OBS Browser+
- Log in to the management console.
- Click
in the upper left corner of the page and choose Databases > 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 displayed page, locate the target backup to be downloaded and click Download in the Operation column.
- In the displayed dialog box, select Use OBS Browser+ for Download Method and download the backup as prompted.
- Download OBS Browser+.
- Decompress and install OBS Browser+.
- Log in to OBS Browser+.
- Add an external bucket.
- Download the backup file.
On the OBS Browser+ page, click the bucket that you added. In the search box on the right of the object list page, enter the backup file name and start a search. In the search result, locate the target backup and click
in the Operation column.
Microsoft SQL Server allows you to download backup files of a specific database.
Method 2: Using Download URL
- Log in to the management console.
- Click
in the upper left corner of the page and choose Databases > 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 displayed page, locate the target backup to be downloaded and click Download in the Operation column.
- In the displayed dialog box, select a method to download backup data.
In the displayed dialog box, select Use Download URL for Download Method, click
to copy the URL, and enter the URL in your browser.
For Microsoft SQL Server DB instances, the URLs of all the backup files are displayed. You can download the backup files of a specific database.
- You can use other 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"
Variables in the commands 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 path of the backup file to be downloaded. If the path contains special characters, escape is required.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.