How can I import a dumped database into Postgres?
Using pg_restore
, it’s almost the same process as pg_dump
but in reverse
pg_restore --dbname={{DBNAME}} --host={{HOST}} --port={{PORT}} --username={{USERNAME}} --password --jobs 2 {{NAME}}.dump