Created
November 8, 2021 21:59
-
-
Save johnatanbrayan/078b2226a251510595669751e4ecd731 to your computer and use it in GitHub Desktop.
Database - How to download a 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
## How to import dump on database: | |
cat your_dump.sql | docker exec -i your-db-container psql -U your-db-user -d your-db-name | |
# Ex: | |
cat dbnonecohom01-tcbapi_qa.dmp | docker exec -i 0eea92bb9447 psql -U tcbapi_qa -d db_tcb_main_qa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment