Migrating from Redis 7.4+ to Valkey

There are many blog posts about your migration options from Redis to Valkey but if you’re wanting to do an in place swap, one thing that has come up is that Redis 7.4’s RDB format isn’t compatible with Redis so if you’ve upgraded Redis to 7.4, this complicates things a bit. I found myself in this exact situation which is described in this GitHub issue because I have been using the redis:7-alpine Docker image and auto-updating it when new versions are available. As user bigb4ng points out, there is a cli based tool, rdb-cli which can read data from a dump file and output it to a Valkey server to achieve your data migration. While not quite the swap that you might have been hoping for, it’s a nice workaround. ...

October 25, 2024 · 4 min · mbentley