Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-09-26 03:10:08 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-09-26 03:10:08 +0300
commitdac3263909b0bc570d58b4385c2a56e5351222e3 (patch)
treed587db1580054a82296f48eaf31ae1f50b4810b0 /doc/administration/postgresql
parent1c61faf876f0da721dde9dc52fb28ab0e7330c6d (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/administration/postgresql')
-rw-r--r--doc/administration/postgresql/multiple_databases.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/administration/postgresql/multiple_databases.md b/doc/administration/postgresql/multiple_databases.md
index 9e5e34d930c..aa5c9cf5693 100644
--- a/doc/administration/postgresql/multiple_databases.md
+++ b/doc/administration/postgresql/multiple_databases.md
@@ -43,6 +43,10 @@ copy the database across.
### Existing self-compiled installation
+1. [Disable background migrations](../../development/database/batched_background_migrations.md#enable-or-disable-background-migrations)
+
+1. [Ensure all background migrations are finished](../../update/background_migrations.md#check-the-status-of-batched-background-migrations)
+
1. Stop GitLab, except for PostgreSQL:
```shell
@@ -67,6 +71,10 @@ copy the database across.
### Existing Linux package installations
+1. [Disable background migrations](../../development/database/batched_background_migrations.md#enable-or-disable-background-migrations)
+
+1. [Ensure all background migrations are finished](../../update/background_migrations.md#check-the-status-of-batched-background-migrations)
+
1. Stop GitLab, except for PostgreSQL:
```shell
@@ -152,6 +160,8 @@ the other way around.
sudo service gitlab restart
```
+1. [Enable background migrations](../../development/database/batched_background_migrations.md#enable-or-disable-background-migrations)
+
### Linux package installations
1. For existing installations,
@@ -204,6 +214,8 @@ the other way around.
sudo gitlab-ctl restart
```
+1. [Enable background migrations](../../development/database/batched_background_migrations.md#enable-or-disable-background-migrations)
+
## Further information
For more information on multiple databases, see [issue 6168](https://gitlab.com/groups/gitlab-org/-/epics/6168).