/ Published in: Bash
**flags:**
* -c : include commands to clean (drop) database objects prior to creating them
* -C : include commands to create the database itself
* -U : user to connect as
* -c : include commands to clean (drop) database objects prior to creating them
* -C : include commands to create the database itself
* -U : user to connect as
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
pg_dump dbname > filename.sql