On Sat, Sep 30, 2023, at 7:33 AM, Jorge Soro Domenech wrote:
You didn't show the error message but I suspect it is:
pg_restore: [archiver] unsupported version (1.14) in file header
As you showed the first bytes in the dump file, that first information (11.18)
is the current Postgres version and the second one (15.2) is the pg_dump
version that you used to create that dump file. Since old pg_dump version might
not read a new format, you are getting this error. You can fix this issue using
the pg_restore from version 15.
PS> avoid images; prefer text error messages. It helps search engines to
completely index this message so others can find this discussion.