Dumping Postgresql server version 13 not working #383

Closed
opened 2020-12-19 16:18:31 +00:00 by Cludch · 2 comments

What I'm trying to do and why

I am trying to dump a database on a PostgreSQL 13.1

Steps to reproduce (if a bug)

Try to dump a PostgreSQL 13.1 server / database.

Actual behavior (if a bug)

pg_dump: error: server version: 13.1 (Debian 13.1-1.pgdg100+1); pg_dump version: 12.4

Expected behavior (if a bug)

Should dump the database without issues

Other notes / implementation ideas

Dumping worked fine before I upgraded the DB server earlier.

Environment

borgmatic version: 1.5.12

borgmatic installation method: Docker container

Borg version: 1.1.14

Python version: 3.8

Database version (if applicable): 13.1

operating system and version: unRAID

#### What I'm trying to do and why I am trying to dump a database on a PostgreSQL 13.1 #### Steps to reproduce (if a bug) Try to dump a PostgreSQL 13.1 server / database. #### Actual behavior (if a bug) `pg_dump: error: server version: 13.1 (Debian 13.1-1.pgdg100+1); pg_dump version: 12.4` #### Expected behavior (if a bug) Should dump the database without issues #### Other notes / implementation ideas Dumping worked fine before I upgraded the DB server earlier. #### Environment **borgmatic version:** 1.5.12 **borgmatic installation method:** Docker container **Borg version:** 1.1.14 **Python version:** 3.8 **Database version (if applicable):** 13.1 **operating system and version:** unRAID
Contributor

Your problem seems to be that you're using client binaries which are version 12.4 and with the server version 13.1. Are you able to dump the databases manually?

I haven't had any problems with borgmatic 1.5.12 and postgres version 13.

# pg_dump --version
pg_dump (PostgreSQL) 13.1 (Debian 13.1-1+b1)
# borgmatic --version
1.5.12
Your problem seems to be that you're using client binaries which are version 12.4 and with the server version 13.1. Are you able to dump the databases manually? I haven't had any problems with borgmatic 1.5.12 and postgres version 13. ``` # pg_dump --version pg_dump (PostgreSQL) 13.1 (Debian 13.1-1+b1) # borgmatic --version 1.5.12 ```
Author

Oh, i didn't realize that pg_dump is bundled within the Docker image and not with Borgmatic.
Therefore, the issue is with the Docker image.
Thank you!

Oh, i didn't realize that pg_dump is bundled within the Docker image and not with Borgmatic. Therefore, the issue is with the Docker image. Thank you!
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#383
No description provided.