diff --git a/content/operate/oss_and_stack/stack-with-enterprise/gears-v1/installing-redisgears.md b/content/operate/oss_and_stack/stack-with-enterprise/gears-v1/installing-redisgears.md index 548b412103..f3db87fb98 100644 --- a/content/operate/oss_and_stack/stack-with-enterprise/gears-v1/installing-redisgears.md +++ b/content/operate/oss_and_stack/stack-with-enterprise/gears-v1/installing-redisgears.md @@ -82,6 +82,20 @@ After installation, create a new database and enable RedisGears: - [With the JVM]({{< relref "/operate/oss_and_stack/stack-with-enterprise/gears-v1/jvm/install" >}}) +## Upgrade RedisGears for existing databases + +To upgrade RedisGears for an existing database after installing a new version, use [`rladmin upgrade db`]({{}}): + +```sh +rladmin upgrade db and module module_name rg version module_args "" +``` + +The following example shows how to upgrade a database named `shopping-cart` to RedisGears version 1.2.9 without changing its configuration: + +```sh +rladmin upgrade db shopping-cart and module module_name rg version 10209 module_args keep_args +``` + ## Uninstall RedisGears To uninstall RedisGears, make a [`DELETE` request to the `/v2/modules` REST API endpoint]({{< relref "/operate/rs/references/rest-api/requests/modules#delete-module-v2" >}}).