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 ./ //文件存放路径
亿速云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>
推荐阅读:redis默认日志存在哪里