How to open .rdb file on macOS and how to import it into Redis?

I exported a .rdb file from Redis in Memoerystore on Google Cloud.

I researched how to open it but didn’t find a soft.

Also tried to import it into a Redis on local, but this way not work:

$ cat "Memorystore-myproject-redis1-Export-2021-01-10 (12_53_39).rdb" | redis-cli -x restore mylist 0
(error) ERR DUMP payload version or checksum are wrong

An RDB file is a core database file. So you don’t import it; you just point the database to it. In redis.conf, set dbfilename to the location of the RDB file.

1 Like