From ad4deb2204d3fc9b99300c38d2aef56946f2557e Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Fri, 19 Oct 2018 22:46:20 -0600 Subject: [PATCH] Removed NC specific tasks --- root/scripts/backup.sh | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/root/scripts/backup.sh b/root/scripts/backup.sh index 91a9086..597a2b3 100644 --- a/root/scripts/backup.sh +++ b/root/scripts/backup.sh @@ -451,23 +451,6 @@ fi ### --- 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 echo -e "${op}${stamp} Dumping NextCloud SQL database...${normal}" >> "$logFile" mysqldump --single-transaction -h"${sqlParams[0]}" -u"${sqlParams[1]}" \