How can I import a dumped database into Postgres?

ยท 1 minute long

Using pg_restore, it's almost the same process as pg_dump but in reverse

pg_restore --dbname= --host= --port= --username= --password --jobs 2 .dump