redis

redis文件默认保存在哪里

小新
680
2020-12-23 16:42:42
栏目: 云计算

redis文件默认保存在哪里

redis文件默认保存在dump.rdb文件中,可通过配置文件查看dump.rdb,例如:

# 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 ./ //文件存放路径

0
看了该问题的人还看了