tencent cloud

Feedback

Downloading Backups

Last updated: 2024-07-23 10:13:41
    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

    Category
    Backup Type
    Method
    Download
    Decompression Required After Download
    Deletion
    Data backup
    Logical backup
    Manual
    Physical backup
    Manual
    Automatic
    ×
    Log backup
    Physical backup
    Automatic
    ×
    

    Downloading a data backup file

    1. Log in to the TencentDB for MySQL console.
    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

    1. Log in to the TencentDB for MySQL console.
    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

    For more information on how to decompress a physical backup file, see Restoring Database from Physical Backup.
    For more information on how to decompress a logical backup file, see Restoring Database from Logical Backup.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support