Skip to content

Instantly share code, notes, and snippets.

@johnatanbrayan
Created November 8, 2021 21:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnatanbrayan/078b2226a251510595669751e4ecd731 to your computer and use it in GitHub Desktop.
Save johnatanbrayan/078b2226a251510595669751e4ecd731 to your computer and use it in GitHub Desktop.
Database - How to download a dump
## 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