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?

link|improve this question
The Shutdown command I believe is the only way. – Beaming Mel-Bin Sep 27 '11 at 23:06
feedback

1 Answer

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
link|improve this answer
Thank you! Worked perfectly. – ABentSpoon Sep 28 '11 at 0:26
feedback

Your Answer

 
or
required, but never shown

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