dragonflydb / dragonflydb/dragonfly
Question: Migrate from Redis Cloud (using a RDB File) to DragonFly, but excluding Timeseries
- Dominant language
- C++
- Stars
- 31.5k
- Forks
- 1.3k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 121
Description
So, we are currently using Redis Cloud, and we have hourly snapshots (RDB Files) to S3.
We want to migrate our data to DragonFly.
However, we are using TimeSeries in Redis Cloud, and DragonFly does not support Timeseries. When I tried to use the RDB File, per the Migration Documentation (https://www.dragonflydb.io/docs/migrating-to-dragonfly/from-redis-instance/snapshot-and-restore), after starting up DragonFly, I got an error `Unknown Type: TSDB` (something like that), which makes sense.
Does anybody have any ideas how to filter out the Timeseries Data out of the RDB File? I have tried two tools (RDB Tools), but both of them didn't work for me (one of them did convert to a JSON file, but it doesn't have an option to convert back to a RDB File.
There might be a few options in my mind, but all of them require some downtime.
One option:
1. In Redis Cloud, create a new database
2. Load the RDB File into that Database.
3. Remove the Keys, which are Timeseries
4. Create a Backup (RDB)
5. Try to use that file for DragonFly
This is not tested though.
Thank you
Contributor guide
Assessment
This issue has not been assessed yet.