Skip to content

Commit d393165

Browse files
author
Akshay Gadhave
committed
Add details for upgrading external postgres from 12 to 13
Existing documentation points to the RHEL docs for steps to upgrade external DB. However, some steps need to be tweaked. JIRA: https://issues.redhat.com/browse/SAT-37171
1 parent 10e78ea commit d393165

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

guides/common/modules/proc_upgrading-postgresql-on-the-external-database-system.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,15 @@ Upgrade the external database to PostgreSQL 13
1010
endif::[]
1111

1212
.Procedure
13+
. Backup the `var/lib/pgsql/data/postgresql.conf` and `/var/lib/pgsql/data/pg_hba.conf` files.
1314
. Follow the instructions in {RHELDocsBaseURL}8/html/deploying_different_types_of_servers/using-databases#fast-upgrade-using-the-pg_upgrade-tool_migrating-to-a-rhel-8-version-of-postgresql[Fast upgrade using the pg_upgrade utility] in _{RHEL}{nbsp}8 Deploying different types of servers_ to upgrade the external database.
15+
Instead of enabling the `postgresql:13` module, switch to the module:
16+
+
17+
[options="nowrap", subs="+quotes,verbatim,attributes"]
18+
----
19+
# yum module switch-to postgresql:13
20+
----
21+
. Restore the `var/lib/pgsql/data/postgresql.conf` and `/var/lib/pgsql/data/pg_hba.conf` files from the backup.
1422
ifdef::katello,satellite,orcharhino[]
1523
. Correct the permissions on the `evr` extension on the external database:
1624
+

0 commit comments

Comments
 (0)