Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
POSTGRES - DOCKER - Restore database
❯ cat database.dump | docker exec -i server_postgres_1 psql -U postgres -W postgres -p 5432 -h 127.0.0.1 -d database
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment