Created
November 19, 2019 08:22
-
-
Save AntouanK/6b1077486b341cbdc5955d308471418d to your computer and use it in GitHub Desktop.
dump a postgres db with pg_dump
This file contains 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 run --rm -ti -v /tmp:/tmp postgres:alpine pg_dump -U postgres -h 123.45.67.89 -p 15432 -f /tmp/dump.sql -F t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment