Postgres Database Import to Cloud9



I am trying to upload a postgres SQL database which i downloaded from Heroku to work with my app but im unable to find a solution for doing that.

These are the steps i need to do

  1. Download database from Heroku
  2. Upload to Cloud 9 and restore the database
  3. Connect the database with my app once its uploaded

How do i do this in Cloud 9

Your quick and prompt reply will be appreciated

thank you