Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pg_dump version mismatch #3

Open
prabhakarreddy1234 opened this issue Feb 11, 2020 · 3 comments
Open

pg_dump version mismatch #3

prabhakarreddy1234 opened this issue Feb 11, 2020 · 3 comments

Comments

@prabhakarreddy1234
Copy link

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 ?

@rinormaloku
Copy link
Owner

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

@mlabrum
Copy link

mlabrum commented Aug 28, 2020

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.

@rinormaloku
Copy link
Owner

Great @mlabrum,

Thanks for dropping it here! ✌️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants