Makefile update

This commit is contained in:
Oleg Lavrovsky 2017-10-16 11:18:50 +02:00
parent 52360ae105
commit c45a30a868

View file

@ -66,7 +66,8 @@ logs:
docker-compose logs -f --tail=500
backup:
docker-compose exec web ./manage.py dumpdata --natural-foreign --indent=4 -e contenttypes -e auth.Permission -e sessions -e wagtailcore.pagerevision -e wagtailcore.groupcollectionpermission > ~/publichealth.home.json
docker-compose start postgres
docker-compose exec web ./manage.py dumpdata --natural-foreign -e contenttypes -e sessions -e feedler -e auth.Permission -e wagtailcore.groupcollectionpermission > ~/publichealth.home.json
zip ~/publichealth.home.json.`date +"%d%m%Y-%H%M"`.zip ~/publichealth.home.json
rm ~/publichealth.home.json