Fix typo in nc backup script
This commit is contained in:
parent
c5574e4924
commit
78e510211f
@ -39,7 +39,7 @@ fi
|
|||||||
# WE MAKE BACKUP NOW SERGEI
|
# WE MAKE BACKUP NOW SERGEI
|
||||||
if cd "{{ nextcloud_webroot }}"; then
|
if cd "{{ nextcloud_webroot }}"; then
|
||||||
log "Enabling maintenance mode"
|
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
|
trap 'sudo -u www-data ./occ maintenance:mode --off' EXIT
|
||||||
date="$(date -Iseconds)"
|
date="$(date -Iseconds)"
|
||||||
log "Creating data backup"
|
log "Creating data backup"
|
||||||
|
Loading…
Reference in New Issue
Block a user