Backup Postgres Database
pg_dump -h localhost -U postgres -W -d mydb > mydb.sql
Proud Porcupine
pg_dump -h localhost -U postgres -W -d mydb > mydb.sql
pg_dump --host localhost --port 5432 --username postgres --format plain --verbose --file "<abstract_file_path>" --table public.tablename dbname