Pg_dump
Pg_dump schema only
Questions in this topic
How do I get out of PostgreSQL command prompt?
How do I import a CSV file into Postgres?