Help Center/ Distributed Cache Service/ User Guide (Kuala Lumpur Region)/ FAQs/ Data Backup, Export, and Migration/ Can I Export Backup Data of DCS Redis Instances to RDB Files Using the Console?
Updated on 2024-07-29 GMT+08:00

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

  • Redis 3.0

    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}

  • Redis 4.0 and later

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