Help Center> Distributed Cache Service> FAQs> Data Backup, Export, and Migration> Can I Export Backup Data of DCS Redis Instances to RDB Files on the Console?
Updated on 2022-08-10 GMT+08:00

Can I Export Backup Data of DCS Redis Instances to RDB Files on the Console?

  • DCS Redis 3.0 instances

    No. On the console, backup data of a DCS Redis 3.0 instance can be exported only to AOF files. To export data to RDB files, run the following command in redis-cli:

    redis-cli -h {redis_address} -p 6379 [-a password] --rdb {output.rdb}

  • DCS Redis 4.0 and 5.0 instances

    Yes. DCS Redis 4.0 and 5.0 instances support AOF and RDB persistence. You can back up data to RDB and AOF files on the console and download the files.

Data Backup, Export, and Migration FAQs

more