Redis RDB CLI is an amazing tool that helps in analyzing data in redis, and migrating data to and from redis servers.
For a project I was working on, I had to migrate only “non-volatile” keys from one DB to another. The tool didn’t support it off the shelf, so I patched it to have this feature.
I was (still am) a rookie at java when I did this.