There are two kinds of persistent storage modes in Redis: AOF and RDB. To temporarily disable RDB execute the following commands on the Redis command line:
config set save ""
to temporarily disable AOF execute the following from the Redis command line:
config set appendonly no
The...
The following code will get the current configuration for the persistent storage state. These values can be modified dynamically, so they may differ from the configuration in redis.conf:
# get
config get appendonly
config get save