Django applications development may be require transfering model entries from one database to another. Also production environment need periodically backups. Django manage.py script gives the opportunity for export data in text file and import then.
Dumpdata serves for take out data. When application names not set, manage.py script export all applications, specified in INSTALLED_APPS. Usage example:
python manage.py dumpdata
python manage.py dumpdata application_name.ModelName > database.json
python manage.py dumpdata application_name.ModelName --format yaml > database.yaml
python manage.py loaddata database.json
docker exec -it <container_name> python manage.py dumpdata > database.json
docker cp <container_name>:/app/database.json .
docker cp ./database.json <container_name>:/app
docker exec -it <container_name> python manage.py loaddata database.json