Removed NC specific tasks
This commit is contained in:
parent
da1499d1c6
commit
ad4deb2204
@ -451,23 +451,6 @@ fi
|
|||||||
### --- End 503 section ---
|
### --- End 503 section ---
|
||||||
|
|
||||||
|
|
||||||
### Put NextCloud in maintenance mode
|
|
||||||
ncMaint on
|
|
||||||
# check if successful
|
|
||||||
if [ "$maintResult" = "0" ]; then
|
|
||||||
echo -e "${info}${stamp} -- [INFO] NextCloud now in maintenance mode --" \
|
|
||||||
"${normal}" >> "$logFile"
|
|
||||||
else
|
|
||||||
exitError+=('100')
|
|
||||||
cleanup
|
|
||||||
quit
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
### Get SQL info from sqlDetails
|
|
||||||
mapfile -t sqlParams < "$sqlDetails"
|
|
||||||
|
|
||||||
|
|
||||||
### Dump SQL
|
### Dump SQL
|
||||||
echo -e "${op}${stamp} Dumping NextCloud SQL database...${normal}" >> "$logFile"
|
echo -e "${op}${stamp} Dumping NextCloud SQL database...${normal}" >> "$logFile"
|
||||||
mysqldump --single-transaction -h"${sqlParams[0]}" -u"${sqlParams[1]}" \
|
mysqldump --single-transaction -h"${sqlParams[0]}" -u"${sqlParams[1]}" \
|
||||||
|
Loading…
Reference in New Issue
Block a user