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

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -