Skip to content

Instantly share code, notes, and snippets.

@jflaflamme
Created June 15, 2017 09:24
Show Gist options
  • Select an option

  • Save jflaflamme/f003ffc66f412e952238e2644b1670cd to your computer and use it in GitHub Desktop.

Select an option

Save jflaflamme/f003ffc66f412e952238e2644b1670cd to your computer and use it in GitHub Desktop.
dump a postgresql backup from a running docker container
docker exec -it postgres9 pg_dump -Upostgres > backup.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment