Skip to content

Instantly share code, notes, and snippets.

@domguard
Created October 4, 2012 10:08
Show Gist options
  • Save domguard/3832708 to your computer and use it in GitHub Desktop.
Save domguard/3832708 to your computer and use it in GitHub Desktop.
Cloning PG databases
pg_dump -h 172.26.76.100 -p 5432 -U username your_db | psql -h localhost -p 5432 -U username your_db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment