Corrected mistake in borg repo/archive name

This commit is contained in:
Asif Bacchus 2018-10-14 14:57:23 -06:00
parent 365aa69e70
commit 7ed19690e5

View File

@ -559,7 +559,7 @@ if [ -z "$borgExclude" ]; then
# borgExclude is empty # borgExclude is empty
echo -e "${op}${stamp} Executing borg without exclusions${normal}" \ echo -e "${op}${stamp} Executing borg without exclusions${normal}" \
>> "$logFile" >> "$logFile"
borg --show-rc create ${borgCreateParams} :: `date +%Y-%m-%d_%H%M%S` \ borg --show-rc create ${borgCreateParams} ::`date +%Y-%m-%d_%H%M%S` \
"${xtraFiles[@]}" \ "${xtraFiles[@]}" \
"${sqlDumpDir}" "${ncDataDir}" \ "${sqlDumpDir}" "${ncDataDir}" \
2>> "$logFile" 2>> "$logFile"
@ -568,7 +568,7 @@ else
echo -e "${op}${stamp} Executing borg with exclusions${normal}" \ echo -e "${op}${stamp} Executing borg with exclusions${normal}" \
>> "$logFile" >> "$logFile"
borg --show-rc create ${borgCreateParams} --exclude-from "${borgExclude}" \ borg --show-rc create ${borgCreateParams} --exclude-from "${borgExclude}" \
:: `date +%Y-%m-%d_%H%M%S` \ ::`date +%Y-%m-%d_%H%M%S` \
"${xtraFiles[@]}" \ "${xtraFiles[@]}" \
"${sqlDumpDir}" "${ncDataDir}" \ "${sqlDumpDir}" "${ncDataDir}" \
2>> "$logFile" 2>> "$logFile"