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.
Usage notes
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.
Billing
Each Tair (Redis OSS-compatible) instance has a free backup quota that is equivalent to the default memory capacity of the instance. When the free backup quota is exhausted, the excess volume of backup data is billed on a pay-as-you-go basis. The unit price is USD 0.15 per GB-month.
On the Backup and Restoration tab, you can view the free backup quota and total backup size of the instance.
Procedure
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.
In the left-side navigation pane, click Backup and Restoration.
Perform the following operations based on your business requirements.
Modify the automatic backup policy
In the upper-right corner, click Backup Settings.
In the panel that appears, specify Backup Cycle and Backup Time.
Retention Days: the number of days for which to retain backups. The retention period of backup files ranges from 7 to 730 days.
Backup Cycle: the backup cycle. You can select one or more days of a week on which to back up data. By default, one backup is created per day.
Backup Time: the period of time to back up data. You can specify one or more hours of a day during which to back up data. We recommend that you back up data during off-peak hours.
NoteThe time displayed in the console is in the same time zone as your computer.
Click OK.
Manually create a temporary backup
In the upper-right corner, click Create Backup.
In the message that appears, click OK.
NoteYou can manually create up to 14 backups per day for each instance. The number of manual backups is reset at 00:00 every day.
Related API operations
API operation | Description |
Creates a backup for an instance. | |
Queries the backup policy of an instance. The backup policy includes the backup cycle and backup time. | |
Modifies the automatic backup policy of an instance. |
References
For information about how to restore data, see Restore data from a backup set to a new instance.
For information about how to download a backup file to your computer, see Download backup files.
Tair (Enterprise Edition) also optimizes the append-only file (AOF) persistence mechanism to perform incremental backups. This allows you to restore data within a few seconds and improve the efficiency of O&M. For more information, see Use data flashback to restore data by point in time.