Makefile update
This commit is contained in:
parent
52360ae105
commit
c45a30a868
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue