Downloading Backup Files

Last updated: 2021-05-28 17:56:02

    You can download database cold backup data, binlogs, and slow logs in the TencentDB for MariaDB console.

    Downloading a Cold Backup or Binlog

    1. Log in to the TencentDB for MariaDB console, click an instance ID/name to enter the instance management page, and select Backup and Restore > Cold Backup List or Binlog List.
    2. Locate the file to be downloaded and click Download in the Operation column.
    3. In the pop-up dialog box, click Copy to get the download address used in a VPC.
    4. 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

    1. Click an instance ID/name to enter the instance management page and select Performance Optimization > Slow Log.
    2. 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.

    3. In the pop-up dialog box, click Copy to get the download address used in a VPC.
    4. 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.