add include/exclude flag vars

This commit is contained in:
Asif Bacchus 2019-05-27 03:13:48 -06:00
parent 163bcd2a84
commit d7a8d0ce28
1 changed files with 5 additions and 0 deletions

View File

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