简体   繁体   中英

Transfer database from one instance into an other

I have a redis instance with data inside 2 databases: 0 and 1

I now have a second instance running and would like to transfer the data inside the first instance's database 1 into the second instance's database 0

Is this possible ?

这里不是一个真正的答案,但是我面临一个类似的问题,我目前正在考虑的解决方案之一是使用rdbtools编写脚本,该脚本将读取dump.rdb文件并从某个数据库读取密钥并将其插入到另一个redis实例。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM