Fix typo in nc backup script

This commit is contained in:
Salt 2020-05-06 02:03:23 -05:00
parent c5574e4924
commit 78e510211f

View File

@ -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"