Posted By

jonathanpglick on 05/26/10


Versions (?)

Postgres SQL dump

 / Published in: Bash


  • -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
  1. pg_dump dbname > filename.sql

Report this snippet  

You need to login to post a comment.