pg import dump cmd code example Example: populate db from command line postgres \i 'path/to/file.sql'