Redis

Dump and Load

Stop server, push dump, restart server. Beautiful:

ssh new-server service redis-server stop
# -3 to copy to this server temporarly. Useful if old and new server have no
# direct connection
scp -3 old-server:/var/lib/redis/dump.rdb
ssh new-server chown redis:redis /var/lib/redis/dump.rdb
ssh new-server service redis-server start