From 68bd78ad7c2be61eab0652f6efbfd7008388de29 Mon Sep 17 00:00:00 2001 From: Marco Date: Tue, 28 Sep 2021 13:45:08 +0200 Subject: [PATCH] Rename script to avoid further confusion --- scripts/UPGRADE.md | 6 +++--- ...pgrade-from-mattermost-docker.sh => upgrade-postgres.sh} | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename scripts/{upgrade-from-mattermost-docker.sh => upgrade-postgres.sh} (98%) diff --git a/scripts/UPGRADE.md b/scripts/UPGRADE.md index 74bea74..814a126 100644 --- a/scripts/UPGRADE.md +++ b/scripts/UPGRADE.md @@ -2,11 +2,11 @@ Because it is more complicated to check the available disk space for various disk formatting options provided by different linux distributions, the script does currently not check for if there is enough disk space. Please check manually before executing this script! -## Upgrading from mattermost-docker +## Upgrading Postgres ``` $ export PATH_TO_MATTERMOST_DOCKER=path/to/mattermost-docker -$ ./scripts/upgrade-from-mattermost-docker.sh +$ ./scripts/upgrade-postgres.sh ``` Environment variables for upgrading: @@ -31,5 +31,5 @@ You can overwrite any of these variables before running this script with: ``` $ export VAR_NAME_FROM_ABOVE=yourValue $ export PATH_TO_MATTERMOST_DOCKER=path/to/mattermost-docker -$ ./scripts/upgrade-from-mattermost-docker.sh +$ ./scripts/upgrade-postgres.sh ``` diff --git a/scripts/upgrade-from-mattermost-docker.sh b/scripts/upgrade-postgres.sh similarity index 98% rename from scripts/upgrade-from-mattermost-docker.sh rename to scripts/upgrade-postgres.sh index 2d43c84..b1ba55b 100755 --- a/scripts/upgrade-from-mattermost-docker.sh +++ b/scripts/upgrade-postgres.sh @@ -10,7 +10,7 @@ set -o errexit # 1. Edit the variables below to match your environment. This uses default variables and assumes you're on 5.31.0. # If you're wanting to use another version of Postgres/Mattermost , update the variables as desired. -# 2. run 'sudo bash upgrade-from-mattermost-docker.sh' replace upgrade.sh with what you've named the file. +# 2. run 'sudo bash upgrade-postgres.sh' replace upgrade.sh with what you've named the file. # This may take some time to complete as it's migrating the database to Postgres 13.6 from 9.4