backup-script/nextcloud.sh

8 lines
151 B
Bash
Raw Normal View History

2022-02-20 19:05:47 +01:00
pre() {
docker exec -u 33 nextcloud_app_1 ./occ maintenance:mode --on
}
post() {
docker exec -u 33 nextcloud_app_1 ./occ maintenance:mode --off
}