#Cannot configure the db file location

3 messages · Page 1 of 1 (latest)

warm stag
#

I am setting up a 3 node Redis Cluster on RHEL 9, I have a redis.config for each node in the cluster, but no matter how I configure the config file, the data files still end up inside /opt/redis/var/db/redis-stack/dump.rdb .. but I have both dbfilename and dir set

#

Example of the settings in my redis.conf files

dbfilename dump-7000.rdb
dir /var/lib/redis/7000

When I connect to the instance, they are still the defaults

warm stag
#

If I use redis-server 7000.conf it properly uses the dir setting
But if I use redis-stack-server 7000.conf it outputs
Starting redis-stack-server, database path /opt/redis/var/db/redis-stack

If I add --dir /var/lib/redis/7000 to the start command it still output, but does put the rdb file in the correct place, BUT, other files are still going in the dir outputed on startup.