Upgrading the PostgreSQL version for Docker Compose¶
This guide 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.
List of affected versions¶
Follow these instructions when upgrading the scanner from version v25.9 and lower to version v25.10 and higher.
Migration¶
Note
In the instructions, migration is performed using the pg_dump built-in PostgreSQL command. Other upgrade methods are also permitted.
- Launch the
fuchsiad-databaseandbackend-databaseservices if they are not already running. -
Get the username and database name for the
backend-databaseservice using the following commands: -
Create a
backend-databasebackup. -
Get the username and database name for the
fuchsiad-databaseservice using the following commands: -
Create a
fuchsiad-databasebackup. -
Shut down the Docker Compose service.
-
Delete the
backend-pgdataandfuchsiad-pgdatavolumes. -
Upgrade SolidPoint Compose to the latest version.
-
Launch the database services.
-
Import the
backend-databasebackup. -
Import the
fuchsiad-databasebackup. -
Restart all services.