February 2018
Intermediate to advanced
382 pages
11h 33m
English
Next, take the following steps to restore Redis data from the RDB file created in the backing up section:
$ bin/redis-cli CONFIG GET appendonly1) "appendonly"2) "yes"
$ bin/redis-cli CONFIG SET appendonly noOK$ bin/redis-cli CONFIG REWRITEOK
$ bin/redis-cli SHUTDOWN$ rm *.aof *.rdb
$ cp /mnt/backup/redis/dump.201712250100.rdb /var/lib/redis/dump.rdb ...
Read now
Unlock full access