Redis DUMP – How to get serialized value of key in redis

2 months ago Lalit Bhagtani 0

In this tutorial, we will learn about how to get serialized version of value stored at the key in redis datastore by using a COMMAND – DUMP in redis-cli. The syntax of redis DUMP command is as follows :-

Syntax :-

redis host:post> DUMP <key name>

Output :-

- string representing serialized version of value

Example :-

Redis Dump

References :-

  1. DUMP Command Docs

That’s all for how to get serialized value of a key in redis datastore. If you liked it, please share your thoughts in comments section and share it with others too.