found a random dump.rdb file in /environment which i wanted to peek at before deleting.
turn out its a Redis database snapshot.
- downloaded the rdb-linux-amd64 executable linked from go-rdb-tool on github.
- copied it from windows to ~/Downloads on wsl
- ran the executable on the .rdb
- it was empty!
cp /mnt/c/Users/arthu/Downloads/rdb-linux-amd64 .
./rdb-linux-amd64 -c json -o ~/environment/dump.json ~/environment/dump.rdb