title: Restoring .bk file to postgreSQL database
body: <p>I was provided with a .bk file that I need to restore on a postgreSQL DB.</p>
  <p><a href="https://www.postgresqltutorial.com/postgresql-restore-database/" rel="nofollow noreferrer">Reference for Restoring DB</a></p>
  <p>I used the following command-line from the link above : <code>psql -d EneFrame -U username -f backupfile.bk</code></p>
  <p>After asking for the password, it seems to do some <code>copying of rows</code>, <code>ALTER TABLE</code>, <code>CREATE INDEX</code> and at the end <code>REVOKE</code> and <code>GRANT</code> - However, in the beginning I get the following errors, but still seems to run and finish... :</p>
  <p><a href="https://i.stack.imgur.com/keJjH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/keJjH.png" alt="enter image description here" /></a></p>
  <p>Then when I open pgAdmin - I dont see any change in the DB I am trying to restore to ?</p>
  <p>I just started with postgreSQL today, so dont know much. Am I trying to restore incorrectly ?</p>
  <p>Thanks for any help!</p>