redis持久化文件在哪里

lewis 2018-10-06 19次阅读

redis持久化文件在配置文件中可查看路径。

例如:

# The filename wherre to dump the DB

dbfilename dump.rdb //文件名

# 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 filename.

dir ./ //文件存放路径



发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。