The TencentDB for MySQL console provides the list of backup files that can be downloaded. You can use the downloaded backups to restore data from one database to another (such as a self-built one).
This document describes how to download a backup file in the console.
Note:
The download rule varies by region. After the cross-region backup feature is enabled, you need to configure the download rule for each region selected for backup.
Data backups generated by manual backup for single-node instances of the cloud disk edition are snapshot backups, which cannot be downloaded.
File types supported for download, decompression, and deletion
|
Data backup | Logical backup | Manual | ✓ | ✓ | ✓ |
| Physical backup | Manual | ✓ | ✓ | ✓ |
|
| Automatic | ✓ | ✓ | × |
Log backup | Physical backup | Automatic | ✓ | ✓ | × |
Downloading a data backup file
2. Select the region at the top, find the target instance, and click the instance ID or Manage in the Operation column to enter the instance management page.
3. On the instance management page, select the Backup and Restoration tab and click Data Backup List.
4. Click Download in the Operation column in the backup list to enter the download page. Then, select the backup file in the target region, click Copy Download URL for high-speed download with the wget
command, or directly click Download.
Note:
We recommend that you copy the download address, log in to a Linux CVM instance in the same VPC as the TencentDB instance as instructed in Customizing Linux CVM Configurations, and run the wget
command for fast download over the private network. The download address is valid for 12 hours, after which you will need to enter the download page again to get a new one.
The URL must be enclosed with quotation marks when the wget
command is used to download.
wget
command format: wget -c 'backup file download address' -O custom filename.xb
.
5. View the downloaded file.
Downloading a log backup file
2. Select the region at the top, find the target instance, and click the instance ID or Manage in the Operation column to enter the instance management page.
3. On the instance management page, select the Backup and Restoration tab and click Log Backup List.
4. Click Download in the Operation column in the backup list to enter the download page. Then, select the backup file in the target region, click Copy Download URL for high-speed download with the wget
command, or directly click Download.
Note:
We recommend you copy the download address, log in to a Linux CVM instance in the same VPC as the TencentDB instance as instructed in Customizing Linux CVM Configurations, and run the wget
command for fast download over the private network. The download address is valid for 12 hours, after which you will need to enter the download page again to get a new one.
The URL must be enclosed with quotation marks when the wget
command is used to download.
wget
command format: wget -c '<backup file download address>' -O <custom filename>
.
5. View the downloaded file.
Decompressing a backup file
Was this page helpful?