How Can I Migrate Partial Data?
The online migration function provided on the console does not support migration of specified DBs. If you want to migrate specified Redis DBs, use redis-port to export or import the specified DBs.
By using redis-port, you can run the restore command to import a specified DB in an RDB file.
redis-restore -n {N} -i {dump.rdb} -t {password}@{dcs_instance_address}:{port} [--unixtime-in-milliseconds="yyyy-MM-dd hh:mm:ss"] [--db={DB_number}]
For details, see Migrating Data with redis-port.
To migrate specified data, develop a script to obtain the specified keys and data and then import the data to a DCS instance.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.