pg_restore
Restore a PostgreSQL database from an archive file created by pg_dump. tldr-pages
On several platforms
Several platforms
Restore an archive into an existing database
pg_restore --dbname db_name archive_file.dumpIdentifyRestore an archive into an existing database, using a specific username
pg_restore --username username --dbname db_name archive_file.dumpIdentifyRestore an archive into an existing database, using a specific host and port
pg_restore --host host --port port --dbname db_name archive_file.dumpIdentifyList database objects included in the archive
pg_restore --list archive_file.dumpIdentifyClean database objects before creating them
pg_restore --clean --dbname db_name archive_file.dumpIdentifyUse multiple jobs to do the restoring
pg_restore --jobs 2 --dbname db_name archive_file.dumpIdentify