I am looking to export everything in Redis to a file using redis-cli
I understand
redis-cli -h XXXX --csv get keyname[****] > filename.csv
will export the one given key to a file, but how do I get every single key/value that exists into a file?
There is no built-in way to do that, but with some coding, you can achieve that. In your preferred programming language, you can implement the following logic: