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
Post a Comment