Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save henriquemenezes/489f3d3b15e02ecb351652cd087dac54 to your computer and use it in GitHub Desktop.
Save henriquemenezes/489f3d3b15e02ecb351652cd087dac54 to your computer and use it in GitHub Desktop.
PostgreSQL dump without specific Scheme
# Dump all postgres database without specific scheme (-N topology)
pg_dump -N topology -U $DATABASE_USERNAME -h $DATABASE_HOST -f /path/to/output.sql $DATABASE_NAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment