Redis save error -


i'm running

save 600 1  

on redis-cli save every 10 minutes if @ least 1 key has changed, it's giving me:

(error) err wrong number of arguments 'save' command 

i'm taking example redis's official website here: http://redis.io/topics/persistence

what doing wrong?

you confusing, understandably, 2 types of saves.

save 600 1 redis configuration directive - can specified in .conf file or via config set command. directive controls automatic background snapshotting of data explained.

on other hand, redis offers save command (no arguments) can invoked via cli or client. command causes redis save dataset while blocking other operations.

note: since save blocking command advised against using in production.


Comments

Popular posts from this blog

python - Installing PyDev in eclipse is failed -

PHP OOP-based login system -

c# - Nested Internal Class with Readonly Hashtable throws Null ref exception.. on assignment -