Skip to content

Commit a56d6c6

Browse files
Update installing-redisgears.md
Adding directions on how to use the newly installed redisgears version to upgrade a database. It was a little jarring not having this available on this page. It left me hanging when I needed to upgrade a database. It took me a good five minutes to fine the information on how to apply the upgrade to a database.
1 parent 1a5b1f1 commit a56d6c6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

content/operate/oss_and_stack/stack-with-enterprise/gears-v1/installing-redisgears.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,14 @@ After installation, create a new database and enable RedisGears:
8585
## Uninstall RedisGears
8686

8787
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" >}}).
88+
89+
## Upgrade existing databases to a new version of RedisGear
90+
91+
To upgrade an existing database, use the following `rladmin` command:
92+
```sh
93+
rladmin upgrade db <database-name-or-ID> and module module_name rg version <new_version_integer> module_args "<module arguments>"
94+
```
95+
Example: To upgrade database `shoppingcart` to RedisGears version 1.2.9 and to continue to use the same configuration:
96+
```sh
97+
rladmin upgrade db shopping-cart and module module_name rg version 10209 module_args keep_args
98+
```

0 commit comments

Comments
 (0)