Created
September 6, 2021 17:59
-
-
Save max10rogerio/856485f7658204161f3bca378eaf9493 to your computer and use it in GitHub Desktop.
POSTGRES - DOCKER - Restore database
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
❯ 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