How to restore all the data from redis? -


i wanted restore data save using redis bgsave command.it saves data default location /var/lib/redis/6379/dump.rdb .the data contains hashmaps,key-value pairs .how data redis dump.rdb file? using restore command not solving purpose!

just restart server. on startup read dump. never has read dump during operation, there's no command it.

restore can useful, it's per key command. meaning have parse dump yourself, extract key names , serialized values , call restore each key. also, implemented support migrating keys between 2 running servers. not use-case.

restarting server easier, isn't it? :)


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -