Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
4983eb6a
Commit
4983eb6a
authored
Mar 04, 2020
by
antirez
Browse files
RDB deletion: document it in example redis.conf.
parent
3bab69e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis.conf
View file @
4983eb6a
...
@@ -321,6 +321,19 @@ rdbchecksum yes
...
@@ -321,6 +321,19 @@ rdbchecksum yes
# The filename where to dump the DB
# The filename where to dump the DB
dbfilename
dump
.
rdb
dbfilename
dump
.
rdb
# Remove RDB files used by replication in instances without persistence
# enabled. By default this option is disabled, however there are environments
# where for regulations or other security concerns, RDB files persisted on
# disk by masters in order to feed replicas, or stored on disk by replicas
# in order to load them for the initial synchronization, should be deleted
# ASAP. Note that this option ONLY WORKS in instances that have both AOF
# and RDB persistence disabled, otherwise is completely ignored.
#
# An alternative (and sometimes better) way to obtain the same effect is
# to use diskless replication on both master and replicas instances. However
# in the case of replicas, diskless is not always an option.
rdb
-
del
-
sync
-
files
no
# The working directory.
# The working directory.
#
#
# The DB will be written inside this directory, with the filename specified
# The DB will be written inside this directory, with the filename specified
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment