Migration • Open core

MigrateRedis to Valkey

An open-source Redis migration tool and RIOT alternative built into BetterDB Monitor. Migrate Redis to Valkey, ElastiCache to Valkey, or Valkey to Valkey across clouds - with pre-migration analysis, live replication, and post-migration validation.

Self-hosted via Docker / npxOr through our cloud

1. Analyze

Know whether the migration is safe before you move a single key.

2. Migrate

Snapshot or continuous replication. Writes continue during sync.

3. Validate

Verify the target matches the source after cutover.

Pre-migration analysis

A readiness report that tells you what will happen before you start.

Data-type and memory breakdown

Key counts by type (string, hash, list, set, sorted set, stream), memory distribution, and total dataset size. Know what you are moving and how much space the target needs.

TTL distribution

Breakdown of keys by remaining TTL, including keys expiring within the next hour. Helps you decide whether to migrate volatile data or let it expire before cutover.

COMMANDLOG behavioral analysis

Scans command history for engine-specific commands that may behave differently on the target. Surfaces usage patterns that could break after migration.

HFE detection

Detects Hash Field Expiry usage on the source instance and flags it in the report. Per-field TTLs are not preserved in command mode, so the report warns you when HFE is present so you can plan accordingly.

The report ends with a safety verdict recommending the migration mode (snapshot or continuous replication) based on what the analysis found.

Live migration with continuous replication

RedisShake-based execution. Snapshot or continuous sync, with writes continuing on the source during replication.

Snapshot (RDB) mode

Full dataset transfer via RDB dump. Suitable when you can accept a brief window where the target may lag behind the source.

Continuous replication (PSYNC)

Initial snapshot followed by ongoing replication of writes. The source stays live during sync. Cut over when the replication lag is acceptably low, and roll back if needed.

Topology support

Standalone, Sentinel, and Cluster topologies on both source and target.

Cutover and rollback

When replication is caught up, cut traffic to the target. If something is wrong, roll back to the source while it is still live.

Post-migration validation

Verify the target matches the source after cutover.

Key-name comparison

Compares key names between source and target to surface missing or extra keys. Confirms the dataset transferred completely.

Health verification in Monitor

After cutover, BetterDB Monitor tracks the target instance the same way it tracked the source - slowlog, latency, memory, and client metrics - so you can confirm the new instance is healthy under production load.

Why not RIOT?

RIOT (Redis Input/Output Tools) was the standard open-source migration path for years. It was archived and replaced by RIOT-X, which is closed-source, enterprise-only, and has no Valkey support. BetterDB Monitor is the open-source alternative - browser-based, no binary to install, no license key.

In March 2024 Redis Ltd. changed the Redis license from BSD to a dual SSPL/RSAL model, which is why teams are evaluating Valkey - the BSD-3-Clause fork maintained by the Linux Foundation.

Ready to get started?

Start monitoring in minutes - no infrastructure to maintain. Team collaboration, agent-based monitoring for private databases, and more. Or self-host - open source core, zero lock-in.