Search code examples
herokuredisheroku-redis

Redis 4.0 vs. 5.0 RDB file format conflict: `Can't handle RDB format version 9`


I am using redis-server version Redis 4.0.9 (00000000/0) 64 bit. When trying to restore data form an RDB file saved in Heroku Redis (Redis Version Compliance 5.0.4). I got this error:

Can't handle RDB format version 9

I don't want to delete dump.rdb. I want to know which redis version can support my RDB file? Thank you in advance.


Solution

  • Redis versions 5.0 until 6.2 support RDB format version 9.

    Redis 7.0 uses a new version 10 format for RDB files, which is incompatible with older versions.