postgres make sql dump
snippet in sql

how to take database dump in postgresql

user1631

pg_dump dbname > outfile

postgres make sql dump

user4351

pg_dump -U username dbname > dbexport.pgsql

psql load dump

user6931

psql databasename < data_base_dump