Open rstens opened 4 years ago
The default image for the backup container does not contain the PostGIS plugin. You would need to add the plugin to the image.
Refer to what @garywong-bc did for bcgov/openshift-postgresql-oracle_fdw, including the environment level controls to enable/disable the plug-in. This would be a nice contribution to the backup-container.
I build my backup container using my application's database container image (with patroni, postgres 13, and PostGIS) as the base to ensure this kind of problem doesn't happen. This is based on https://github.com/BCDevOps/backup-container/blob/master/openshift/templates/backup/backup-build.yaml specifying BASE_IMAGE_FOR_BUILD.
We have a PostgreSQL database with PostGIS installed. The back up validation fails with:
Other psql extensions might suffer from this as well.