Skip to content

Commit 335413f

Browse files
committed
2nd commit of upgrade docs
1 parent 6e8f534 commit 335413f

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

content/operate/oss_and_stack/install/upgrade/cluster.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ weight: 30
1212

1313
{{< note >}}
1414
The supported upgrade paths are:
15-
1615
- Redis Community Edition 7.x (with or without modules) to Redis Community Edition 8
1716
- Redis Stack 7.2 or 7.4 to Redis Community Edition 8
1817
{{< /note >}}
@@ -34,7 +33,7 @@ redis-cli -p <port> SAVE
3433

3534
Repeat for every node in your cluster, both masters and replicas.
3635

37-
This creates or updates an `RDB` file, for example `dump.rdb`, in the node's Redis data directory. If you use AOF persistence, the files will be named `appendonly.aof.*` and they will be written in the `appendonlydir` directory inside the data directory. These directory and file names are the default. Use the names defined in your `redis.conf` file if different from the defaults.
36+
This creates or updates an `RDB` file, for example `dump.rdb`, in the node's Redis data directory. If you use AOF persistence, the files will be named `appendonly.aof.*` and they will be written in the `appendonlydir` directory inside the data directory. The AOF-related directory and file names are the defaults. Use the names defined in your `redis.conf` file if different from the defaults.
3837

3938
Use the following command on each node to identify where your data directories are located:
4039

@@ -46,12 +45,15 @@ Make a copy of the files contained in each of those directories before proceedin
4645

4746
### Upgrade Redis nodes
4847

49-
Upgrade each node one at a time starting with the replicas.
50-
Follow the installation steps that correspond to your [installation method]({{< relref "/operate/oss_and_stack/install/install-stack" >}}). Only upgrade after you've saved and backed up your data.
48+
Upgrade each node one at a time, starting with the replicas, using these steps:
49+
50+
1. Stop the current version of Redis CE or Redis Stack server.
51+
1. Follow the installation steps that correspond to your [Redis distribution]({{< relref "/operate/oss_and_stack/install/install-stack" >}}) to install Redis 8.
52+
1. Start Redis 8 if it didn't start automatically.
5153

52-
### Restore from saved files (if needed)
54+
### Restore from saved files (if necessary)
5355

54-
If necessary, restore the saved files to their original location on each node. Then restart Redis on each node.
56+
If necessary, restore the saved files to their original locations on each node. Then restart Redis on each node.
5557

5658
### Verify the upgrade
5759

content/operate/oss_and_stack/install/upgrade/standalone.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@ categories:
66
- oss
77
description: Upgrade a standalone instance of Redis Community Edition or Redis Stack to Redis 8
88
linkTitle: Standalone (single node)
9-
title: Upgrade a Redis instance to Redis 8
9+
title: Upgrade a standalone Redis instance to Redis 8
1010
weight: 20
1111
---
1212
{{< note >}}
1313
The supported upgrade paths are:
14-
1514
- Redis Community Edition 7.x (with or without modules) to Redis Community Edition 8
1615
- Redis Stack 7.2 or 7.4 to Redis Community Edition 8
1716
{{< /note >}}
@@ -31,7 +30,7 @@ Before upgrading, create a snapshot of your current dataset using the following
3130
redis-cli SAVE
3231
```
3332

34-
This creates or updates an `RDB` file, for example `dump.rdb`, in your Redis data directory. If you use AOF persistence, the files will be named `appendonly.aof.*` and they will be written in the `appendonlydir` directory inside the data directory. These directory and file names are the default. Use the names defined in your `redis.conf` file if different from the defaults.
33+
This creates or updates an `RDB` file, for example `dump.rdb`, in your Redis data directory. If you use AOF persistence, the files will be named `appendonly.aof.*` and they will be written in the `appendonlydir` directory inside the data directory. The AOF-related directory and file names are the defaults. Use the names defined in your `redis.conf` file if different from the defaults.
3534

3635
Use the following command to identify where your data directory is located:
3736

@@ -50,10 +49,10 @@ cp -r /path/to/redis-data-dir/ /path/to/backup/
5049
Follow these steps to upgrade Redis.
5150

5251
1. Stop the current version of Redis CE or Redis Stack server.
53-
1. Install the new version of Redis CE. Follow the installation steps that correspond to your [installation method]({{< relref "/operate/oss_and_stack/install/install-stack" >}}). Only upgrade after you've saved and backed up your data.
54-
1. Start Redis if it didn't start automatically.
52+
1. Follow the installation steps that correspond to your [Redis distribution]({{< relref "/operate/oss_and_stack/install/install-stack" >}}) to install Redis 8.
53+
1. Start Redis 8 if it didn't start automatically.
5554

56-
### Restore from saved files (if needed)
55+
### Restore from saved files (if necessary)
5756

5857
If Redis fails to start properly or if data is missing after the upgrade, restore from your backup.
5958

0 commit comments

Comments
 (0)