diff --git a/backup.sh b/backup.sh index b99a3ce..7d7779a 100755 --- a/backup.sh +++ b/backup.sh @@ -133,6 +133,10 @@ function cleanup { scriptPath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" scriptName="$( basename ${0} )" logFile="$scriptPath/${scriptName%.*}.log" + +# set default 503 error page name and location in scriptPath +err503File="$scriptPath/503.html" + # set borg parameters to 'normal' verbosity borgCreateParams='--stats' borgPruneParams='--list' @@ -141,7 +145,6 @@ borgPruneParams='--list' ### Set script parameters to null and initialize array variables unset PARAMS unset sqlDumpDir -unset err503File unset webroot unset ncRoot errorExplain=()