Write the contents of a Redis Key to file

Recently wanted to debug the content of a Redis key.

After some looking got to the following command which solved my issues:

redis-cli --raw get {key} > output.txt  

Enjoy !


Posted on 2016/02/22 by Johann du Toit

comments powered by Disqus