title: Error restoring Postgresql db
body: <p>I have a problem restoring a PostgreSQL DB which I have backup early using the following command:</p>
  
  <pre><code>pg_dump -i -h localhost -p 5432 -U Mark -F c -b -v -f "C:\Users\mchan\Desktop\MyDB\DBBackup.backup" mydb
  </code></pre>
  
  <p>Now When I try to restore this DB backup on (another machine) I got the following error:</p>
  
  <pre><code>pg_restore: [archiver] directory "C:\Users\mark\Desktop\MCHANBackups\DBBackup.backup" does not appear to be a valid archive ("toc.dat" does not exist)
  </code></pre>
  
  <p>Below is the command I used to restore the backup:</p>
  
  <pre><code>pg_restore -i -h localhost -p 5432 -U Mark -d mydb -v "C:\Users\mark\Desktop\MCHANBackups\DBBackup.backup"
  </code></pre>
  
  <p>Can someone please help me and tell me what I am doing wrong here?</p>