how to take database dump in postgresql
snippet in sql

how to take database dump in postgresql

user9530

pg_dump dbname > outfile

psql load dump

user9549

psql databasename < data_base_dump