PG Bug reporting form <noreply(at)postgresql(dot)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