diff options
-rw-r--r-- | etc/ncp-config.d/nc-backup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/ncp-config.d/nc-backup.sh b/etc/ncp-config.d/nc-backup.sh index a67bf87e..fbe70677 100644 --- a/etc/ncp-config.d/nc-backup.sh +++ b/etc/ncp-config.d/nc-backup.sh @@ -61,7 +61,7 @@ FREE=$( df "$DESTDIR" | tail -1 | awk '{ print $4 }' ) # database $OCC maintenance:mode --on -[[ -f /.docker-image ]] && mv /data/app /data/nextcloud +[[ -f /.docker-image ]] && mv /data/app /data/nextcloud && DATADIR=/data/nextcloud/data [[ -f /.docker-image ]] && BASEDIR=/data || BASEDIR=/var/www cd "$BASEDIR" || exit 1 echo "backup database..." |