title: Heroku: pg_restore: [archiver] unsupported version (1.14) in file header
body: <p>I have a local Postgresql database that I am trying to import into a Heroku instance. I have Postgresql 12.1 installed. To create the dump file I am running:</p>
  <p><code>pg_dump -Fc --no-acl --no-owner -h localhost -U nico nicoportfolio_development &gt; mydb.dump</code></p>
  <p>I then add the dump file to an aws s3 bucket.</p>
  <p>Following the heroku documentation, I then create a presigned url:</p>
  <p><code>aws s3 presign s3://nicoportfolio/mydb.dump</code></p>
  <p>Finally I run the <code>heroku pg restore</code> command</p>
  <p><code>heroku pg:backups:restore 'https://nicoportfolio.s3.amazonaws.com/mydb.dump?AWSAccessKeyId=AKIA2LPDMAPORY7QOOUK&amp;Expires=1577325774&amp;Signature=z6mBKKOVd6wPcFtCc8cjkjoKTLA%3D' DATABASE_URL</code></p>
  <p>I get the following error:</p>
  <p><code>pg_restore: [archiver] unsupported version (1.14) in file header</code></p>
  <p>I've read several other posts regarding this topic which mentioned an outdated version of Postgres causing the problem but I have the most up to date version.</p>