Help Center/ Distributed Cache Service/ FAQs/ Data Backup, Export, and Migration/ How Do I Export DCS Redis Instance Data?
Updated on 2025-05-21 GMT+08:00
How Do I Export DCS Redis Instance Data?
- Instance data of DCS instances other than single-node ones can be exported on the console:
- Go to the Cache Manager page on the DCS console.
- Click the name of the desired instance. The instance details page is displayed.
- Choose Backups & Restorations.
- If No records found is displayed, perform a backup and click Download.
- Single-node instances do not support the backup function. You can use command SYNC on redis-cli to export data to RDB files.
- If the instance allows the SYNC command, run the following command to export the instance data:
redis-cli -h {source_redis_address} -p 6379 [-a password] --rdb {output.rdb}
- If the instance does not allow the SYNC command (such as a Redis 4.0 or later single-node instance), migrate the instance data to a master/standby instance and export the data by using the backup and restoration functions on the console.
- If the instance allows the SYNC command, run the following command to export the instance data:
Parent topic: Data Backup, Export, and Migration
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.