We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
默认开启RDB持久化。
于/etc/redis/redis.conf配置文件添加appendonly yes即可开启AOF持久化。
/etc/redis/redis.conf
appendonly yes
可以通过查看/data下有什么文件来看开启了哪个持久化。
/data