How to restore a postgres database created via an older version of postgres?
When I tried to install via Azure Data Studio I got an error:

Restore: pg_restore: [archiver] unsupported version (1.13) in file header



Version 1.13 of the pg_dump archive format was introduced in February 2018 as part of the changes for CVE-2018-1058. The version bump was mentioned in the commit message with a specific warning about the problem:


  Since this change requires a change in the behavior of pg_restore when
  processing an archive file made according to this new convention, bump
  the archive file version number; old versions of pg_restore will
  therefore refuse to process files made with new versions of pg_dump.


That was six months before PostgreSQL 11 was released, so an installation that supports PostgreSQL 11 is not supposed to use an older pg_restore. I'm not sure what exactly is "Azure Data Studio" in terms of the software stack it provides, but it looks like it has an outdated version of pg_restore that is not suitable for your needs.