backup-script/nextcloud.sh

7 lines
151 B
Bash

pre() {
docker exec -u 33 nextcloud-app-1 ./occ maintenance:mode --on
}
post() {
docker exec -u 33 nextcloud-app-1 ./occ maintenance:mode --off
}