reids中不小心执行了flushall,使用appendonly.aof文件进行数据库恢复
https://blog.csdn.net/qq_35868412/article/details/86705522
用源码安装redis关闭方式:
关闭redis-cli -h ip -p 6379 -a qwe123 shutdown
启动./redis-server ../conf/redis.conf
redis集群从库不能写入:Slave-read-only参数
https://blog.csdn.net/raoping2017/article/details/71630911
redis主从配置,哨兵配置
https://blog.csdn.net/u010297957/article/details/55050098
redis使用aof文件进行数据迁移
https://www.jianshu.com/p/935e39a544bd
springboot配置