Hi Tom,

Thanks, thought the same, but the current pg_dump and pg_restore versions are as follows:

pg_restore -V
pg_restore (PostgreSQL) 10.16 (Ubuntu 10.16-1.pgdg20.04+1)
pg_dump -V
pg_dump (PostgreSQL) 10.16 (Ubuntu 10.16-1.pgdg20.04+1)

Nothing has been changed since the last week in the postgresql versions, including pg_dump and pg_restore.
I use default OpenProject settings, including PostgreSQL, now same 10.16 for the last couple of months.

Also, to make it more complex,
I have restored with no problem the dump from April 8 [that was a life-saver], made with the same pg_dump as this one used on April 12. The latest, however, cannot be restored.

Best,
Piotr

W dniu 2021-04-20 o 20:48, Tom Lane pisze:
PG Bug reporting form <noreply@postgresql.org> writes:
Full dump created on April 12, 2021, default Ubuntu 18.04 LTS, cannot be
restored on April 19, with the current output:

      
psql --version
psql (PostgreSQL) 10.16 (Ubuntu 10.16-1.pgdg20.04+1)

      
pg_restore returns:
pg_restore: [archiver] unsupported version (1.14) in file header
The most obvious explanation for this is that you made the dump
with a v12-or-later pg_dump, and are now trying to restore it
with a pre-v12 pg_restore.  If so, the failure is expected.

			regards, tom lane


Wolny od wirusów. www.avg.com