To dump data from a postgreSQL database you can use the pg_dump command as follows
pg_dump database > file.sql
To restore that data you can execute the following command
psql -d database -f file.sql -U db_username
Data Analytics | Cloud Computing | Development
Previous post: Sony VGN-SZ780 Laptop Review
Next post: IBM ThinkPad T43 Hissing Noise In Linux