Postgres SQL dump


/ Published in: Bash
Save to your folder(s)

**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


Copy this code and paste it in your HTML
  1. pg_dump dbname > filename.sql

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.