# Get all keys from the DB redis-cli -n 8 --scan # Get all keys and values from the DB echo 'keys *' | redis-cli -n 8 | sed 's/^/get \"/' | sed 's/$/\" /' | redis-cli -n 8 | jq .