Upgrading the PostgreSQL version for GNU/Linux¶
This page is an addition to the installation on GNU/Linux instructions and will help you upgrade the PostgreSQL database management system used in the scanner to version 16. This version includes the TimescaleDB extension necessary for correct operation of the service. If your PostgreSQL version matches the required one, you will only need to install the extension, if it is not installed yet.
List of affected versions¶
Follow these instructions when upgrading the scanner from version v25.9 and lower to version v25.10 and higher.
Migration¶
Notes
- In the instructions, migration is performed using the
pg_dumpbuilt-in PostgreSQL command. Other upgrade methods are also permitted. - All commands in the instructions are run by a user with the “administrator” role.
-
Create a
solidpoint_backenddatabase backup. -
Create a
fuchsiadatabase backup. -
Delete the
solidpoint_backenddatabase. -
Delete the
fuchsiadatabase. -
Upgrade the PostgreSQL version to the required one.
-
Stop the old cluster.
-
Update the packages.
-
Identify the old and new versions of PostgreSQL, as well as the cluster name.
-
Use the
pg_upgradetool. -
Start a new cluster.
-
Delete the old cluster.
-
-
Recreate the deleted databases.
-
Import the
solidpoint_backendbackup. -
Import the
fuchsiabackup. -
Restart PostgreSQL.