import postgres dump do code example
Example 1: psql load dump
psql databasename < data_base_dump
Example 2: populate db from command line postgres
\i 'path/to/file.sql'
psql databasename < data_base_dump
\i 'path/to/file.sql'