You can download database cold backup data, binlogs, and slow logs in the TencentDB for MariaDB console.
Downloading a Cold Backup or Binlog
- Log in to the TencentDB for MariaDB console, click an instance ID to enter the instance management page, and select Backup and Restore > Cold Backup List or Binlog List.
- Locate the file to be downloaded and click Download in the Operation column.
- In the pop-up dialog box, click Copy to get the download address used in a VPC.
- Log in to the Linux CVM in the same VPC as the TencentDB instance and run
wget
to download the file.
Note:
- Command syntax:
wget -c 'download address'
- The download address can only be used in a VPC and is valid for 15 minutes. If it expires, you can refresh the page to get a new one.

Downloading a Slow Log
- Log in to the TencentDB for MariaDB console, click an instance ID to enter the instance management page and select Performance Optimization > Slow Log.
- Locate the file to be downloaded and click Download in the Operation column.
Note:
Note: if the file size is 0 KB, there is no slow query record and it cannot be downloaded.
- In the pop-up dialog box, click Copy to get the download address used in a VPC.
- Log in to the Linux CVM in the same VPC as the TencentDB instance and run
wget
to download the file.
Note:
- Command syntax:
wget -c 'download address'
- The download address can only be used in a VPC and is valid for 15 minutes. If it expires, you can refresh the page to get a new one.
Was this page helpful?