Skip to content

Instantly share code, notes, and snippets.

@jozsefs
Last active July 13, 2024 10:47
Show Gist options
  • Save jozsefs/fff1dca9d64ca245310360b158cf9bdc to your computer and use it in GitHub Desktop.
Save jozsefs/fff1dca9d64ca245310360b158cf9bdc to your computer and use it in GitHub Desktop.
dump redis keys with value (human readable values, not using the DUMP from redis). TBH if you have 10k+ keys this will take a lot of time
redis-cli keys \* | while read key; do value="`redis-cli get "$key"`"; echo "$key: $value"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment