diff --git a/backup.sh b/backup.sh index 98097a5..e221856 100755 --- a/backup.sh +++ b/backup.sh @@ -560,17 +560,17 @@ if [ -z "$borgExclude" ]; then echo -e "${bold}${op}${stamp} Executing borg without exclusions${normal}" \ >> "$logFile" borg --show-rc create ${borgCreateParams} ::`date +%Y-%m-%d_%H%M%S` \ - "${xtraFiles[@]}" \ - "${sqlDumpDir}" "${ncDataDir}" \ + ${xtraFiles[@]} \ + ${sqlDumpDir} ${ncDataDir} \ 2>> "$logFile" else # borgExclude is not empty echo -e "${bold}${op}${stamp} Executing borg with exclusions${normal}" \ >> "$logFile" - borg --show-rc create ${borgCreateParams} --exclude-from "${borgExclude}" \ + borg --show-rc create ${borgCreateParams} --exclude-from ${borgExclude} \ ::`date +%Y-%m-%d_%H%M%S` \ - "${xtraFiles[@]}" \ - "${sqlDumpDir}" "${ncDataDir}" \ + ${xtraFiles[@]} \ + ${sqlDumpDir} ${ncDataDir} \ 2>> "$logFile" fi