Closed jayaddison closed 2 years ago
Notes:
pg_upgrade
seems to be an applicable strategy here/mnt/persistence/postgresql
(as defined in #27)postgresql.conf
files (and conf.d
directory that they reference) before running the upgradepostgresql.conf
file, but symlinks are not required to do that.
pg_upgrade_server.log
after an attempted upgradepostgresql.conf
to v14 postgresql.conf
before upgradePost-upgrade fixups:
pg_hba.conf
to v14 pg_hba.conf
Upgrade complete. The backend
product administration interface was accessed after the upgrade, and it rendered as expected, confirming that connectivity to the database is restored and functional.
(also performed some cleanup to remove postgresql-13
-related Debian packages from the server host. data from the pre-upgrade v13 database has been retained, as with the upgrade from v12 to v13)
Some notes from a recent PostgreSQL 16 upgrade:
pg_upgrade
manual mentions the --old-datadir
and --new-datadir
options -- they might appear at first glance to accept the persistence/storage directories -- but in fact they can (should?) be pointed to the old and new config directories. This is explained elsewhere in the manual already.
Is your feature request related to a problem? Please describe. This is an issue to track progress upgrading from PostgreSQL v13 to v14 in production.
Describe the solution you'd like Follow the guidance at https://www.postgresql.org/docs/14/upgrading.html