Question

Is it possible to disable snapshot persistence on a redis instance without restarting it?

Redis documentation seems to imply this is possible. But how? I can see how you could turn AOF peristence on or off, but how can one turn off snapshotting (RDB) persistence?

Version of redis used is: 2.6.9

Was it helpful?

Solution

You disable snapshotting by issuing:

CONFIG SET save ""

This is documented (in very few words) in your redis.conf file:

#   It is also possible to remove all the previously configured save
#   points by adding a save directive with a single empty string argument

Hope this helps, TW

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top