我的Redis像這樣我的配置文件:沒有appendonly.aof文件時我輸入的Redis-CLI命令一些
工作目錄下dump.rdb
和appendonly.aof
輸出:
dir /var/redis/6379
我已設置appendonly
來是這樣的:
appendonly yes
我還設置了SYN:
appendfsync everysec
appendfilename "appendonly.aof"
我知道的東西將被添加到appendonly.aof每次我在Redis的-cli.But鍵入命令,當我輸入它修改redis的-CLI關鍵一些命令,在目錄中創建/var/redis/6379
沒有appendonly.aof文件。
PS:我之前沒有appendonly.aof
文件在/var/redis/6379
之前。
----更新於2014年10月7日23:30 ---
我在/ var/Redis的/ 6379一個dump.rdb文件,dump.rdb將進行更新,每次我執行shutdown
在redis-cli中。
用戶我運行Redis的服務器是約翰,和/ var/Redis的/ 6379的權限是:
drwxr-xr-x 2 john john 4096 Oct 7 23:28 6379/
因此,權限是所有權利。
'/ var/redis/6379 /'中是否有'dump.rdb'文件?我只想排除運行'redis-server'的用戶沒有權限寫入'/ var/redis/6379'的可能性。 – 2014-10-07 14:54:19