Open
Description
Describe the bug feature
Attempting to migrate to Valkey from Redis by simply copying the .rdb file from Redis over to Valkey and start Valkey. This was working a few months ago, and now it no longer works.
To reproduce
$ docker run -d --name redis --network valkey -e REDIS_ARGS="--requirepass mypassword" redis/redis-stack-server:latest
$ wget https://github.com/redis-developer/redis-datasets/raw/master/user-database/import_users.redis
-- edit import_users.redis and add `AUTH mypassword` to top of file
$ docker cp import_users.redis redis:import_users.redis
$ docker exec -it redis bash
root@599623d6666c:/# redis-cli < import_users.redis
"5996 Users Created"
root@599623d6666c:/# redis-cli
127.0.0.1:6379> AUTH mypassword
OK
127.0.0.1:6379> LASTSAVE
(integer) 1722353292
127.0.0.1:6379> BGSAVE
Background saving started
127.0.0.1:6379> LASTSAVE
(integer) 1722353319
-- exit redis container
$ docker cp redis:/data/dump.rdb ./dataM1/
Successfully copied 1.44MB to /home/tester/valkey/dataM1/
$ docker run -it --rm --user 1000:1000 --name valkeyM1 --hostname valkeym1 --network valkey -v ${PWD}/dataM1:/data valkey/valkey:7.2.5 /data/valkey.conf
...
1:M 30 Jul 2024 15:33:49.896 * Server initialized
1:M 30 Jul 2024 15:33:49.896 # Can't handle RDB format version 12
1:M 30 Jul 2024 15:33:49.896 # Fatal error loading the DB, check server logs. Exiting.
Expected behavior
To be able to migrate from Redis to Valkey by copying the datafile from Redis. This worked a few months ago.