From 98082011280d3b4fb4265705b0f827e88c69187b Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sun, 14 Oct 2018 16:31:30 -0600 Subject: [PATCH] removed quotes from borg create commandlines --- backup.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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