PostgreSQL database dump

08.Apr.2014

To create database dump from PostgreSQL, you can use following command:

1
pg_dump -i -h localhost -p 5432 -U username -F c -b -v -f database_backup.sql

Notice that port and username may be different for your PostgreSQL installation.