Skip to content

Commit

Permalink
Corrections to migration guide
Browse files Browse the repository at this point in the history
- User the term "Redis OSS" and "open source Redis", rather than "Redis
  Community Edition". The latter refers to the source-available versions
  from 7.4 and later.
- Mention that Valkey is backward compatible with all old Redis versions.
- Update the migration table to include Redis OSS 2.x - 7.2.x. Users have
  been confused by the table that seems to indicate that it's not possible
  to upgrade from Redis 6.2 to Valkey 8.0, but it is.

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
  • Loading branch information
zuiderkwast committed Oct 25, 2024
1 parent 77de0ff commit 9458642
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions topics/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ linkTitle: Migration
description: How to migrate from Redis to Valkey
---

This is a migration guide from Redis Community Edition to Valkey.
This is a migration guide from Redis open source versions to Valkey.
You will learn how to migrate a standalone Redis server instance and a Redis Cluster.

This guide provides migration steps for Redis server and Valkey deployed in Docker; however, they should also apply for on-premises deployments.
This guide provides migration steps for Redis server and Valkey deployed in Docker; however, they should also apply for other deployments.
Refer to [install Valkey](installation.md) for installation options.

## Why to migrate to Valkey?
Expand All @@ -18,15 +18,19 @@ Refer to [install Valkey](installation.md) for installation options.

### Migration compatibility matrix

You can migrate Redis server to Valkey.
The following table provides migration options depending on the Redis version you run:
You can migrate a Redis server to Valkey.
Valkey is backward compatible with Redis OSS 7.2 and all earlier open source Redis versions.
Migrating from any open source Redis version to Valkey is just an upgrade.
Redis 7.4 and later are not open source and the data files are no longer compatible with Valkey.
It may be possible to migrate the data to Valkey from proprietary Redis versions and other Redis-like software but it requires another method and is not covered by this document.

| Redis | Valkey |
|-------|--------|
| 6.x | 7.2.x |
| 7.2.x | 7.2.x |
| 7.2.x | 8.0.x |
| 7.4 | n/a |
The following table provides migration options depending on the open source Redis version you run:

| Redis | Valkey |
|-----------------------|--------|
| 2.x - 7.2.x | 7.2.x |
| 2.x - 7.2.x | 8.0 |
| 7.4 (not open source) | n/a |

## Migrate a standalone instance

Expand Down

0 comments on commit 9458642

Please sign in to comment.