add include/exclude flag vars

This commit is contained in:
Asif Bacchus 2019-05-27 03:13:48 -06:00
parent 163bcd2a84
commit d7a8d0ce28

View File

@ -137,6 +137,8 @@ borgPruneParams='--list'
configDetails="$scriptPath/seafbackup.details" configDetails="$scriptPath/seafbackup.details"
err503Copied=0 err503Copied=0
sqlCopied=0 sqlCopied=0
includeXtra=0
exclusions=0
# 503 related # 503 related
use503=0 use503=0
@ -478,6 +480,9 @@ if [ -n "${borgXtraListPath}" ]; then
done <<EOF done <<EOF
$( sed -e '/^\s*#.*$/d' -e '/^\s*$/d' "${borgXtraListPath}" ) $( sed -e '/^\s*#.*$/d' -e '/^\s*$/d' "${borgXtraListPath}" )
EOF EOF
printf "${magenta}details:borgXtraListPath ${norm}-- ${ok}[OK]${norm}\n" \
>> "$logfile"
includeXtra=1
fi fi