- docker-compose
- docker images
- docker cp ~/Downloads/smt-dhis-backup.sql imageId:/
- docker exec -it imageId bash
- su postgres
- psql dhis
- drop database dhis
- create database dhis
- GRANT ALL PRIVILEGES ON DATABASE dhis TO dhis
- GRANT postgres TO dhis
- \q
- exit
- cat /smt-dhis-backup.sql | psql dhis