diff --git a/doc/administration/postgresql/moving.md b/doc/administration/postgresql/moving.md index 21184480541f025a71e26904bd5ea0e507e6e214..fb0be46024f5bf6ead783aee9cb21726ece4e4e0 100644 --- a/doc/administration/postgresql/moving.md +++ b/doc/administration/postgresql/moving.md @@ -47,6 +47,7 @@ To move databases from one instance to another: /opt/gitlab/embedded/bin/psql -h $DST_PGHOST -U $DST_PGUSER -f gitlabhq_production.sql postgres ``` +1. Optional. If you migrate from a database that doesn't use PgBouncer to a database that does, you must manually add a [`pg_shadow_lookup` function](../gitaly/praefect.md#manual-database-setup) to the application database (usually `gitlabhq_production`). 1. Configure the GitLab application servers with the appropriate connection details for your destination PostgreSQL instance in your `/etc/gitlab/gitlab.rb` file: