You can use the online migration function of the DCS console to migrate DCS Redis instances to your self-hosted Redis. You can also export the DCS instance data to an RDB file and import it to local or self-hosted Redis.
For details, see Online Migration of Self-Hosted Redis. Select Self-hosted Redis and enter the target Redis address when configuring the target Redis.
For details about how to install and use redis-shake, see Self-Hosted Redis Cluster Migration with redis-shake and redis-shake configuration instructions.
This tool is recommended for online migration if possible. For details, see Online Migration with Rump.