Help & Documentation>TencentDB for MariaDB

Downloading Backup Files

Last updated: 2023-08-30 16:49:21
You can download the cold backup data and binlogs in the TencentDB for MariaDB console.

Downloading a cold backup or binlog

1. Log in to the TencentDB for MariaDB console. In the instance list, click an instance ID or Manage in the Operation column to enter the instance management page.
2. Select Backup and Restoration > Cold Backup List or Binlog List.
3. Find the backup you want to download, and click Download in the Operation column.
4. In the pop-up dialog, an address for downloading the backup within the VPC private network is provided. Click Get Download Link.
5. Log in to a Linux CVM instance in the same VPC as the TencentDB instance and use the wget command to download the file.
Note
For public network download: Enable public network download in the Download Settings section of the Database Backup page in the left sidebar. You can copy the download link directly to your browser to start the download.
Download over private network: Run the wget command (format: wget -O <custom filename.log> '<backup download address>') for download in a VPC.
The address is valid for 15 minutes. Refresh the page to get a new one after expiration.


Downloading a slow log

1. Log in to the TencentDB for MariaDB console. In the instance list, click an instance ID or Manage in the Operation column to enter the instance management page.
2. Select Performance Optimization > Slow Query Log tab.
3. Find the backup you want to download, and click Download in the Operation column.
Note
If the file size is 0 KB, no slow query record is available for download.
4. In the pop-up dialog, an address for downloading the log within the VPC private network is provided. Click Get Download Link.
5. Log in to a Linux CVM instance in the same VPC as the TencentDB instance and use the wget command to download the file.
Note
For public network download: Enable public network download in the Download Settings section of the Database Backup page in the left sidebar. You can copy the download link directly to your browser to start the download.
Download over the private network: In a VPC, use the wget command to download: wget -O <custom_filename.log> '<slow_log_download_address>'.
The address is valid for 15 minutes. Refresh the page to get a new one after expiration.