postgre-backup-container icon indicating copy to clipboard operation
postgre-backup-container copied to clipboard

pg_dump version mismatch

Open prabhakarreddy1234 opened this issue 5 years ago • 3 comments

i provisioned backup cronjob on my AKS cluster. I'm running Postgres 11.5 on my AKS cluster. When the job runs i 'm seeing this error message.

Creating dump: backupOn2020-02-10-23-57.dump
pg_dump: server version: 11.5 (Debian 11.5-3.pgdg90+1); pg_dump version: 9.6.10
pg_dump: aborting because of server version mismatch
Back up not created, check db connection settings

I'm using rinormaloku/postgres-back-up image. Is there anyway i can update the image to support Postgres 11.5 ?

prabhakarreddy1234 avatar Feb 11 '20 00:02 prabhakarreddy1234

Hi @prabhakarreddy1234

Sorry for missing this question. I hope you were able to find a solution. I'll provide a response so that if others have the same question, they can spare time of finding out how.

The alpine image needs to be updated so that a new version of PostgreSQL can be pulled. For the 11 version of PostgreSQL, it would have been alpine v3.10.

You can check all the versions of the packages available in Alpine Linux Repository: https://pkgs.alpinelinux.org/packages?name=postgresql&branch=v3.10

rinormaloku avatar Aug 27 '20 13:08 rinormaloku

Thanks @rinormaloku for creating this, I've just published https://hub.docker.com/repository/docker/mlabrum/postgres-back-up which uses an updated alpine image.

mlabrum avatar Aug 28 '20 01:08 mlabrum

Great @mlabrum,

Thanks for dropping it here! ✌️

rinormaloku avatar Sep 04 '20 10:09 rinormaloku