wget http://download.redis.io/redis-stable.tar.gz && tar xvzf redis-stable.tar.gz && cd redis-stable && make & cp src/redis-cli /usr/bin/
rdb --command protocol dump.rdb |redis-cli -h m -p -a --pipe
curl http://npmjs.org/install.sh | sh npm install redis-dump -g redis-dump -p 6379 -h localhost -d 0 > file.txt #backup cat file.txt | redis-cli #restore