From 59306899e789d68045b3f2dfe3c53038ed8b86d4 Mon Sep 17 00:00:00 2001 From: JuliusFreudenberger Date: Tue, 1 Mar 2022 15:14:36 +0100 Subject: [PATCH] Remove database dump from nextcloud hook The database will be backed up from the volume directly --- nextcloud.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/nextcloud.sh b/nextcloud.sh index 6ca8c32..538ce1b 100644 --- a/nextcloud.sh +++ b/nextcloud.sh @@ -1,9 +1,7 @@ pre() { - docker exec nextcloud_db_1 pg_dump -U postgres nextcloud > /tmp/nextcloud.sql docker exec -u 33 nextcloud_app_1 ./occ maintenance:mode --on } post() { - rm /tmp/nextcloud.sql docker exec -u 33 nextcloud_app_1 ./occ maintenance:mode --off }