From 94be9415998d4813239e1b9a2b71a6d3a9601e8b Mon Sep 17 00:00:00 2001 From: Oleg Lavrovsky Date: Fri, 15 May 2020 21:53:01 +0200 Subject: [PATCH] backup-data script --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 04c445c..b82085f 100644 --- a/Makefile +++ b/Makefile @@ -70,7 +70,7 @@ logs: docker-compose logs -f --tail=500 backup-data: - docker-compose exec web ./manage.py dumpdata --natural-foreign -e auth.permission -e contenttypes -e wagtailcore.GroupCollectionPermission -e wagtailimages.rendition -e sessions -e feedler.feedlysettings > ~/publichealth.home.json + docker-compose exec web ./manage.py dumpdata --natural-foreign -e auth.permission -e contenttypes -e wagtailcore.GroupCollectionPermission -e wagtailcore.GroupPagePermission -e wagtailimages.rendition -e sessions -e feedler.feedlysettings > ~/publichealth.home.json zip ~/publichealth.home.json.`date +"%d%m%Y-%H%M"`.zip ~/publichealth.home.json rm ~/publichealth.home.json