From 78e510211f6681772d24f2322b4ba70983e6fe8f Mon Sep 17 00:00:00 2001 From: Salt Date: Wed, 6 May 2020 02:03:23 -0500 Subject: [PATCH] Fix typo in nc backup script --- roles/nextcloud/templates/backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/nextcloud/templates/backup.sh b/roles/nextcloud/templates/backup.sh index dd50b41..544d5fd 100644 --- a/roles/nextcloud/templates/backup.sh +++ b/roles/nextcloud/templates/backup.sh @@ -39,7 +39,7 @@ fi # WE MAKE BACKUP NOW SERGEI if cd "{{ nextcloud_webroot }}"; then log "Enabling maintenance mode" - sudo -u www-data ./oc maintenance:mode --on + sudo -u www-data ./occ maintenance:mode --on trap 'sudo -u www-data ./occ maintenance:mode --off' EXIT date="$(date -Iseconds)" log "Creating data backup"