I am trying to restore the backup file to PostgreSQL DB by;
pg_restore -d db_name -U user_name -C backup.dmp
However, I get this error when I executed this command.
pg_restore: [archiver] unsupported version (1.14) in file header
The version of the PostgreSQL DB I'm using is 11.6 (Ubuntu 11.6-1.pgdg18.04+1)
I assumed I need to upgrade PostgreSQL DB so I tried this command on the server.
brew upgrade postgresql
However, I get this error this time..
Error: postgresql not installed
I would appreciate any help or advice. Thank you very much.