|
| 1 | +--- |
| 2 | +Title: Upgrade Redis database version |
| 3 | +alwaysopen: false |
| 4 | +categories: |
| 5 | +- docs |
| 6 | +- operate |
| 7 | +- rc |
| 8 | +description: Describes when you can upgrade your database to the latest available version for each plan type. |
| 9 | +linkTitle: Upgrade database version |
| 10 | +weight: 37 |
| 11 | +--- |
| 12 | + |
| 13 | +Database version upgrade options depend on your plan type. |
| 14 | + |
| 15 | +## Redis Cloud Essentials |
| 16 | + |
| 17 | +All new Redis Cloud Essentials databases are on the latest available version of Redis. Redis will notify Redis Cloud Essentials users when a new database version is available. |
| 18 | + |
| 19 | +## Redis Cloud Pro |
| 20 | + |
| 21 | +You can upgrade Redis Cloud Pro databases that are not on the latest available version of Redis to a later version at any time. |
| 22 | + |
| 23 | +{{< note >}} |
| 24 | +Please keep in mind the following before upgrading your database version: |
| 25 | + |
| 26 | +- We recommend that you [back up your data]({{< relref "/operate/rc/databases/back-up-data" >}}) before upgrading to make it easier to [manually revert the upgrade](#manually-revert-upgrade) if needed. |
| 27 | + |
| 28 | +- We recommend that you upgrade your database during off-peak hours or during application maintenance to minimize reconnections. |
| 29 | + |
| 30 | +- Review the breaking changes for the new database version before upgrading: |
| 31 | + - [Redis 7.2]({{< relref "/operate/rc/changelog/2023/june-2023#redis-72-breaking-changes" >}}) |
| 32 | + - [Redis 7.4]({{< relref "/operate/rc/changelog/july-2024#redis-74-breaking-changes" >}}) |
| 33 | + |
| 34 | +- You must upgrade the target database in an [Active-Passive]({{< relref "/operate/rc/databases/migrate-databases#sync-using-active-passive" >}}) setup before you upgrade the source database to prevent compatibility issues. |
| 35 | +{{< /note >}} |
| 36 | + |
| 37 | +### Upgrade Redis Cloud Pro database |
| 38 | + |
| 39 | +To upgrade a Redis Cloud Pro database: |
| 40 | + |
| 41 | +1. Choose your database from the **Databases** list to open your database page. Select **More actions > Version upgrade**. |
| 42 | + |
| 43 | + {{<image filename="images/rc/databases-more-actions-menu.png" alt="The More Actions menu on the Database page." width=40% >}} |
| 44 | + |
| 45 | + You can also select **More actions > Version upgrade** from the database list. |
| 46 | + |
| 47 | +1. Select the target version from the **Select version** list. |
| 48 | + |
| 49 | + {{<image filename="images/rc/database-version-upgrade.png" alt="The Redis version upgrade screen." width=80% >}} |
| 50 | + |
| 51 | + If your database has not been backed up before, we recommend that you back up your database. Select **Go to backup** to go to the [backup settings]({{< relref "/operate/rc/databases/back-up-data" >}}). |
| 52 | + |
| 53 | +1. Select **Upgrade** to start the upgrade. |
| 54 | + |
| 55 | + {{<image filename="images/rc/button-upgrade.png" alt="The upgrade button." width=100px >}} |
| 56 | + |
| 57 | +The database will start upgrading to the selected version immediately. The upgrade may take a few minutes. |
| 58 | + |
| 59 | +You can continue to use the Redis Cloud console for other tasks during the upgrade. |
| 60 | + |
| 61 | +### Manually revert upgrade |
| 62 | + |
| 63 | +Automatically reverting to a previous Redis version is not supported on Redis Cloud. |
| 64 | + |
| 65 | +If you [backed up your database]({{< relref "/operate/rc/databases/back-up-data" >}}) before you upgraded your version, you can: |
| 66 | + |
| 67 | +1. [Delete your database]({{< relref "/operate/rc/databases/delete-database" >}}) without deleting your subscription. |
| 68 | +1. [Create a new database]({{< relref "/operate/rc/databases/create-database/create-pro-database-existing" >}}) in your subscription with the following settings: |
| 69 | + - **Port number**: Use the same port number as the old database. |
| 70 | + - **Version**: Select the original version of Redis. |
| 71 | +1. [Import the backup files]({{< relref "/operate/rc/databases/import-data" >}}) into the new database. |
| 72 | + |
| 73 | +This allows you to connect to the database on the previous version without changing your connection details in your application. |
| 74 | + |
| 75 | +If you did not back up your database before upgrading: |
| 76 | + |
| 77 | +1. [Back up your database]({{< relref "/operate/rc/databases/back-up-data" >}}). |
| 78 | +1. [Create a new database]({{< relref "/operate/rc/databases/create-database/create-pro-database-existing" >}}) in your subscription and select the original version of Redis. |
| 79 | +1. [Import the backup files]({{< relref "/operate/rc/databases/import-data" >}}) into the new database. |
| 80 | +1. Change connection details in your application from the old database to the new database. |
0 commit comments