All Products
Search
Document Center

Tair (Redis® OSS-Compatible):Automatic or manual backup

Last Updated:Dec 18, 2024

Tair (Redis OSS-compatible) instances use Redis Database (RDB) snapshots for data persistence. In-memory data that is captured at specific points in time is persisted to files on disks. During the backup process, the performance of data retrieval is not affected. By default, instances are configured to back up data automatically once a day. You can modify the automatic backup policy based on your business requirements or manually create a temporary backup.

Background information

Tair (Redis OSS-compatible) instances use RDB snapshots for data persistence. In-memory data that is captured at specific points in time is persisted to files on disks. During the backup process, the performance of data retrieval is not affected.

By default, data is backed up once a day for your instance. You can also perform a manual backup at any time. Backup files can be retained only for seven days. To retain backup files for a longer period of time, you can download the backup files to your computer. For more information, see Download backup files.

Precautions

  • If a backup task for an instance is already in progress, another backup task cannot be initiated. We recommend that you initiate another backup task after the current backup operation is complete.

  • By default, an instance backs up data on the replica node. If the data flashback feature is enabled for the instance, the instance backs up data on the master node.

Procedure

  1. Log on to the console and go to the Instances page. In the top navigation bar, select the region in which the instance that you want to manage resides. Then, find the instance and click the instance ID.

  2. In the left-side navigation pane, click Backup and Restoration.

  3. Perform the following operations based on your business requirements.

    Modify the automatic backup policy

    1. In the upper-right corner, click Backup Settings.

    2. In the panel that appears, specify Backup Cycle and Backup Time.

      • Retention Days: Backup files are retained for 7 days.

      • Backup Cycle: You can select one or more days of the week. By default, one backup is created per day.

      • Backup Time: You can specify a period of time in hours within a day. We recommend that you back up data during off-peak hours.

        Note

        The time displayed in the console is in the same time zone as your computer.

    3. Click OK.

    Manually create a temporary backup

    1. In the upper-right corner, click Create Backup.

    2. In the message that appears, click OK.

      Note

      You can perform up to 30 manual backups per day for a single instance. If the number of manual backups exceeds the limit, the Exceeding the daily backup times of this DB instance. error is reported. This limit is automatically lifted after 24 hours and does not affect the automatic backup.

Related API operations

API operation

Description

CreateBackup

Creates a backup for an instance.

DescribeBackupPolicy

Queries the backup policy of an instance. The backup policy includes the backup cycle and backup time.

ModifyBackupPolicy

Modifies the automatic backup policy of an instance.

References