Created
October 22, 2015 03:02
-
-
Save wayanjimmy/e98624a59183ca3ed70f to your computer and use it in GitHub Desktop.
Import redis
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#http://stackoverflow.com/questions/6004915/how-do-i-move-a-redis-database-from-one-server-to-another | |
B$ sudo service redis-server stop | |
B$ sudo cp /tmp/dump.rdb /var/lib/redis/dump.rdb | |
B$ sudo chown redis: /var/lib/redis/dump.rdb | |
B$ sudo service redis-server start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment