DataExpert-io / data-engineer-handbook

This is a repo with links to everything you'd ever want to learn about data engineering

Repository from Github https://github.comDataExpert-io/data-engineer-handbookRepository from Github https://github.comDataExpert-io/data-engineer-handbook

Update ReadMe of `1-dimensional-data-modeling`

VinothKanna007 opened this issue · comments

Tables Not loaded using Docker

  1. Copy your .dump file into the container

docker cp .\data.dump my-postgres-container:/tmp/data.dump

  1. Run pg_restore inside the container

docker exec -it my-postgres-container pg_restore -U postgres -d postgres /tmp/data.dump

✅ This works perfectly with binary .dump files.

you don't have to manually copy; code does it for you.