title: Postgres Tutorial: pg_restore: [archiver] input file does not appear to be a valid archive
body: <p>I'm working through the <a href="http://www.postgresqltutorial.com/load-postgresql-sample-database/" rel="noreferrer">Postgres DVD tutorial</a> and am running into issues importing their sample database.</p>
  
  <p>Running <code>pg_restore -U postgres -d dvdrental ~[filepath]/dvd-database.tar.gz</code> gives me <code>pg_restore: [archiver] input file does not appear to be a valid archive</code>.</p>
  
  <p>My process so far has been the following:</p>
  
  <ol>
  <li>Download the <a href="http://www.postgresqltutorial.com/?wpdmdl=969" rel="noreferrer">dvdrental.zip</a> file</li>
  <li>Extract it to a .tar using <code>tar czf dvd-database.tar.gz dvdrental.zip</code> (I've also tried extracting the zip to a folder first with the same result, as well as dropping the .gz)</li>
  <li>Running <code>pg_restore -U postgres -d dvdrental ~[filepath]/dvd-database.tar</code> as stated above.</li>
  </ol>
  
  <p>I'm currently using Postgres 9.5, which may be causing the issue. Looking for an answer that points out where I'm going wrong in this process or how to update an archive of a Postgres database to 9.5.</p>