Skip to content

Instantly share code, notes, and snippets.

@danielef
Created February 27, 2016 00:41
Show Gist options
  • Save danielef/b4bddb1b70810cc8891b to your computer and use it in GitHub Desktop.
Save danielef/b4bddb1b70810cc8891b to your computer and use it in GitHub Desktop.
PostgreSQL Backup Schema with Inserts
pg_dump --schema $SCHEMA_NAME -a --column-inserts > backup-ee.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment