You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/operate/oss_and_stack/install/upgrade/cluster.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,6 @@ weight: 30
12
12
13
13
{{< note >}}
14
14
The supported upgrade paths are:
15
-
16
15
- Redis Community Edition 7.x (with or without modules) to Redis Community Edition 8
17
16
- Redis Stack 7.2 or 7.4 to Redis Community Edition 8
18
17
{{< /note >}}
@@ -34,7 +33,7 @@ redis-cli -p <port> SAVE
34
33
35
34
Repeat for every node in your cluster, both masters and replicas.
36
35
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.
38
37
39
38
Use the following command on each node to identify where your data directories are located:
40
39
@@ -46,12 +45,15 @@ Make a copy of the files contained in each of those directories before proceedin
46
45
47
46
### Upgrade Redis nodes
48
47
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.
51
53
52
-
### Restore from saved files (if needed)
54
+
### Restore from saved files (if necessary)
53
55
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.
Copy file name to clipboardExpand all lines: content/operate/oss_and_stack/install/upgrade/standalone.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,11 @@ categories:
6
6
- oss
7
7
description: Upgrade a standalone instance of Redis Community Edition or Redis Stack to Redis 8
8
8
linkTitle: Standalone (single node)
9
-
title: Upgrade a Redis instance to Redis 8
9
+
title: Upgrade a standalone Redis instance to Redis 8
10
10
weight: 20
11
11
---
12
12
{{< note >}}
13
13
The supported upgrade paths are:
14
-
15
14
- Redis Community Edition 7.x (with or without modules) to Redis Community Edition 8
16
15
- Redis Stack 7.2 or 7.4 to Redis Community Edition 8
17
16
{{< /note >}}
@@ -31,7 +30,7 @@ Before upgrading, create a snapshot of your current dataset using the following
31
30
redis-cli SAVE
32
31
```
33
32
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.
35
34
36
35
Use the following command to identify where your data directory is located:
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.
55
54
56
-
### Restore from saved files (if needed)
55
+
### Restore from saved files (if necessary)
57
56
58
57
If Redis fails to start properly or if data is missing after the upgrade, restore from your backup.
0 commit comments