Dump and restore of a database in PostgreSQL is simple:
Dump:
$ pg_dump dbname > outfile
Restore:
$ psql dbname < infile
References
PostgreSQL: Dumping Databases
Dump and restore of a database in PostgreSQL is simple:
Dump:
$ pg_dump dbname > outfile
Restore:
$ psql dbname < infile
References