Error Using pg_dump Following Railway Instructions
diegoeduk
PROOP

a year ago

I am trying to back up my database using pg_dump from the psql client, following the instructions provided in the following link:
https://blog.railway.com/p/postgre-backup.

However, when executing the command, I encounter the following error:

pg_dump: error: server version: 16.4 (Debian 16.4-1.pgdg120+2); pg_dump version: 14.15 (Ubuntu 14.15-0ubuntu0.22.04.1)

pg_dump: error: aborting because of server version mismatch

The same error occurs when trying to use the backup tools in pgAdmin 4.

2 Replies

a year ago

Hello,

You need to use pg_dump version 16, to match your database version.

Best,
Brody


Status changed to Awaiting User Response Railway about 1 year ago


diegoeduk
PROOP

a year ago

Ok, thanks.


Status changed to Awaiting Railway Response Railway about 1 year ago


Status changed to Solved brody about 1 year ago


Loading...