export a postgres db with all data code example
Example: postgresql export database
// Command Prompt // it may be needed to update the PATH on cmd
pg_dump -U username dbname > filename.pgsql
// Command Prompt // it may be needed to update the PATH on cmd
pg_dump -U username dbname > filename.pgsql