tencent cloud

Feedback

Backing up Data

Last updated: 2023-04-19 14:31:26

    Overview

    The backend service of TencentDB for Redis backs up the data in an instance periodically. By default, it performs a full data backup in any hour between 02:00 AM and 08:00 AM every day to generate a database backup file in RDB format and store it persistently in COS. In addition to periodic backups on the system backend, you can also perform manual backup in the TencentDB for Redis console to back up all data at any time outside the automatic backup time period. This helps meet your backup requirements in different scenarios.
    Note
    During data backup, in order not to increase the processing burden on the master database or affect the business, the backup source will be a replica database in the instance.

    Configuring the automatic backup time

    1. Log in to the TencentDB for Redis console.
    2. In the instance list, click the instance ID to enter the Instance Details page.
    3. On the Instance Details page, select the Backup and Restoration tab.
    4. In the top-right corner of the backup list, click Configure Automatic Backup.
    5. In the Configure Automatic Backup window, configure the following parameters and click OK:
    Auto Backup: It is enabled by default. To disable it, submit a ticket.
    Backup Cycle: All options are selected by default and cannot be modified.
    Backup Start Time: Select an option in the drop-down list.
    Backup Retention Period: It is 7 days by default. To change it, submit a ticket.
    
    6. The backup task starts within the specified time period everyday. After backup is completed, you can view backup files in the following two ways:
    In the Backup List on the Backup and Restoration tab, view the backup files with Backup Mode being Auto Backup.
    On the left sidebar, select Database Backup. Then, view the backup files with Backup Mode being Auto Backup on the Backup List tab.
    Note
    After automatic backup is configured, the system backend service will perform a full backup once a day within the configured backup time period.
    Backup start may be delayed if affected by relevant processes.

    Manual backup

    1. Log in to the TencentDB for Redis console.
    2. In the instance list, click the instance ID to enter the Instance Details page.
    3. In the top-right corner of the Instance Details page, click Manual Backup.
    4. In the Manual Backup window, enter the Remarks for the backup task.
    5. Click OK.
    Note:
    The backup task will start after around one minute.
    During backup, you can select Task Management on the left sidebar to view the task progress and details.
    After backup is completed, you can select Database Backup on the left sidebar and view the backup files with Backup Mode being Manual Backup on the Backup List tab. You can also view such files in the Backup List on the Backup and Restoration tab on the Instance Details page.

    Related APIs

    API
    Description
    Backs up an instance
    Queries the list of backups of an instance
    
    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