Restore a postgres backup file using the command line
pg_restore --verbose --clean --no-acl --no-owner --host=localhost --dbname=bi --username=postgres --format=custom latest.dump
References
https://stackoverflow.com/questions/2732474/restore-a-postgres-backup-file-using-the-command-line?page=1&tab=scoredesc#tab-top
https://www.postgresql.org/docs/current/app-pgrestore.html