Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Redis is dumping snapshots to device that is rapidly running out of space.

I've tried mounting a larger device to the snapshot directory, but Redis continues to dump snapshots to the smaller device.

Is there any way to force redis to use the new directory without restarting the service?

share|improve this question
The Shutdown command I believe is the only way. – Belmin Fernandez Sep 27 '11 at 23:06
up vote 2 down vote accepted

There are some configuration parameters that can be changed on the fly using the CONFIG SET command. From version 2.2, you can change the working directory at runtime with:

redis-cli> config get dir
redis-cli> config set /path/to/new/dir
share|improve this answer
Thank you! Worked perfectly. – ABentSpoon Sep 28 '11 at 0:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.