psql cli load dump from files code example Example: populate db from command line postgres \i 'path/to/file.sql'