summaryrefslogtreecommitdiff
path: root/redis.conf
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2009-04-27 18:10:00 +0200
committerantirez <antirez@gmail.com>2009-04-27 18:10:00 +0200
commitb8b553c84fd1d9200fc35a08b9ea42ec9dbc73ee (patch)
treed749b04294dec3ca4e87777791c520fe18678832 /redis.conf
parent85dd2f3ad232725df668eb9d96553e58e45ad23f (diff)
downloadredis-b8b553c84fd1d9200fc35a08b9ea42ec9dbc73ee.tar.gz
ability to specify a different file name for the DB
Diffstat (limited to 'redis.conf')
-rw-r--r--redis.conf7
1 files changed, 6 insertions, 1 deletions
diff --git a/redis.conf b/redis.conf
index 0083d7f10..38592b02e 100644
--- a/redis.conf
+++ b/redis.conf
@@ -34,6 +34,9 @@ save 900 1
save 300 10
save 60 10000
+# The filename where to dump the DB
+dbfilename dump.rdb
+
# For default save/load DB in/from the working directory
# Note that you must specify a directory not a file name.
dir ./
@@ -50,7 +53,9 @@ loglevel debug
# output for logging but daemonize, logs will be sent to /dev/null
logfile stdout
-# Set the number of databases.
+# Set the number of databases. The default database is DB 0, you can select
+# a different one on a per-connection basis using SELECT <dbid> where
+# dbid is a number between 0 and 'databases'-1
databases 16
################################# REPLICATION #################################