https://github.com/eltorio/postgres-upgrade
helper image for upgrading to postgresql 16
https://github.com/eltorio/postgres-upgrade
Last synced: 4 months ago
JSON representation
helper image for upgrading to postgresql 16
- Host: GitHub
- URL: https://github.com/eltorio/postgres-upgrade
- Owner: eltorio
- License: mit
- Created: 2023-10-21T13:15:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-13T11:57:15.000Z (5 months ago)
- Last Synced: 2025-01-13T12:41:39.486Z (5 months ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# postgres-upgrade
## MAKE A FULL BACKUP PRIOR TO ANY UPGRADE
This is a very simple image for upgrading to Bitnami Postgresql image from v16 to v17.
When running it stops on sleep infiny as root user, letting administrators to run the necessaries upgrades.A sample script `upgrade-bitnami-16-to-17.sh` is provided as an example.
It contains all the steps I need on my Kubernetes services but not you might need to adapt it to your requirements.
For editing vim is included.**MAKE A FULL BACKUP**before anything. And before…
MAKE A FULL BACKUP !!!!!!### How to for an helm chart with bitnami postgresql dependency
in your values.yaml add:
```yaml
postgresql:
image:
debug: true
registry: docker.io
tag: 16-to-17
#tag: 15-to-16
repository: highcanfly/postgres-upgrade
pullPolicy: Always
diagnosticMode:
enabled: true
```Upgrade your chart for changing the Docker image to this one.
Log in the postgres-0 container
run the necessary commands for upgrading the database to v17. Or if you are lucky make a full backup and use `/upgrade-bitnami-16-to-17.sh`### if you loose your datas ?
You forgot to make a **full backup**