pg_restore: [archiver] input file is too short error in postgres
<p>I am trying to dump the database in my local system by using the command :</p>

<pre><code>pg_restore --host=localhost --port=5432 --dbname=dev_db --no-owner --no-privileges db_dump_new.backup
</code></pre>

<p>but I am getting the error :</p>

<pre><code>pg_restore: [archiver] input file is too short (read 0, expected 5)
</code></pre>

<p>What am I doing wrong?</p>