input file appears to be a text format dump. Please use psql
<p>I take backup using </p>

<pre><code>pg_dump db_production &gt; postgres_db.dump
</code></pre>

<p>and then I copy it to localhost using scp.</p>

<p>Now when I import on my local db it gives an error </p>

<pre><code>pg_restore: [archiver] input file appears to be a text format dump. Please use psql.
</code></pre>

<p>by using commad line</p>

<pre><code>pg_restore -d db_development postgres_db.dump
</code></pre>