All Products
Search
Document Center

Tair (Redis® OSS-Compatible):Data synchronization

Last Updated:Aug 22, 2025

Tair (Redis OSS-compatible) uses Data Transmission Service (DTS) to provide multiple data synchronization solutions for various business scenarios, such as cloud sync, active geo-redundancy, disaster recovery, and data analytics.

About DTS

DTS is a real-time data stream service from Alibaba Cloud that integrates data migration, subscription, and synchronization. It provides a stable and secure transmission link. DTS supports full and incremental data migration with minimal downtime to minimize the impact on your business.

Table 1. Synchronization support

Supported source databases

Supported destination databases

Supported architectures

Supported synchronization topologies

  • Self-managed Redis 7.2 and earlier

  • Redis Open-Source Edition

    4.0, 5.0, 6.0, and 7.0 instances

  • Tair (Enterprise Edition) instances

  • Redis Open-Source Edition

    4.0, 5.0, 6.0, and 7.0 instances

  • Tair (Enterprise Edition) instances

  • One-way synchronization

  • Two-way synchronization

  • Cross-account synchronization

Permission requirements

DTS requires different permissions for different synchronization scenarios. Before you configure data synchronization, you must grant the required permissions to the source and destination databases based on the scenarios in the following table.

Note

For more information about how to create an account for a Redis instance and grant the required permissions, see Create and manage accounts.

Table 2. Permission requirements

Synchronization scenario

Permissions on the source database

Permissions on the destination database

  • Synchronization between instances that belong to the same Alibaba Cloud account

  • Synchronization from an Alibaba Cloud database to a self-managed database

  • Synchronization between instances that belong to different Alibaba Cloud accounts

Read permissions

Read and write permissions

  • Synchronization from a self-managed database to an Alibaba Cloud database

  • Synchronization between self-managed databases

Permissions to run the SYNC or PSYNC command

Read and write permissions

Data synchronization solutions

Important

The configuration methods for different scenarios are similar. The following table lists configuration examples for common data synchronization scenarios. If your scenario is not listed, you can refer to the documentation for a similar scenario and configure the required permissions based on the permission requirements table.

Scenario

Configuration example

Synchronize data from a self-managed database to a Tair (Redis OSS-compatible) instance

Synchronize data from a self-managed Redis database on an ECS instance to a Tair (Redis OSS-compatible) instance

Synchronization between Tair (Redis OSS-compatible) instances

One-way data synchronization between instances

Two-way synchronization between Tair instances

One-way synchronization of Tair (Redis OSS-compatible) instances across Alibaba Cloud accounts