Redis dump.rdb appendonly.aof 文件路径修改
来源:互联网 发布:界面编程 编辑:程序博客网 时间:2024/05/19 02:45
# The working directory.
#
# The DB will be written inside this directory, with the filename specified
# above using the 'dbfilename' configuration directive.
#
# The Append Only File will also be created inside this directory.
#
# Note that you must specify a directory here, not a file name.
dir ./
#
# The DB will be written inside this directory, with the filename specified
# above using the 'dbfilename' configuration directive.
#
# The Append Only File will also be created inside this directory.
#
# Note that you must specify a directory here, not a file name.
dir ./
-------------------------
这里默认是启动后的相对路径也就是你的redis在哪里启动,dump.rdb 文件或者appendonly.aof
文件就会产生在启动所在的目录;
这也就是有些人重启后key值消失的原因,那是因为又产生了其他ump.rdb 文件或者appendonly.aof
这里建议改成绝对路径
dir /usr/local/redis/data/
阅读全文
0 0
- redis dump.rdb appendonly.aof 文件路径修改
- Redis dump.rdb appendonly.aof 文件路径修改
- 解决redis下没有appendonly.aof文件
- redis如何利用appendonly.aof恢复数据
- Redis RDB/AOF
- redis aof 和rdb
- Redis RDB和AOF
- redis快照文件dump.rdb解析工具--redis-rdb-tools
- Redis持久存储-AOF&RDB
- Redis---持久化 ( RDB AOF )
- Redis 持久化 RDB AOF
- 简述redis RDB和AOF
- redis 快照 RDB和AOF
- Redis持久化--RDB+AOF
- 一天入门redis-RDB、AOF
- Redis存储RDB与AOF
- redis还原dump.rdb
- Redis配置文件redis.conf 详解--aof&rdb
- 如何使用Disruptor(二)如何从Ringbuffer读取
- python 类-基础笔记
- MySQL数据库——汇总数据(聚集函数)
- 17.12.17日报
- Linux 下统计网卡的流量
- Redis dump.rdb appendonly.aof 文件路径修改
- elasticsearch分布式检索
- Tomcat使用基础
- 写入修复(二)
- 设计模式:模板方法模式
- Spring MVC全局处理Exception
- ioc
- STL学习笔记-模板知识
- Disruptor 2.0更新摘要