Created
June 15, 2017 09:24
-
-
Save jflaflamme/f003ffc66f412e952238e2644b1670cd to your computer and use it in GitHub Desktop.
dump a postgresql backup from a running docker container
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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