From 7ed19690e5821936a13449f7f048a6a85f213269 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sun, 14 Oct 2018 14:57:23 -0600 Subject: [PATCH] Corrected mistake in borg repo/archive name --- backup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backup.sh b/backup.sh index 54f4873..441599b 100755 --- a/backup.sh +++ b/backup.sh @@ -559,7 +559,7 @@ if [ -z "$borgExclude" ]; then # borgExclude is empty echo -e "${op}${stamp} Executing borg without exclusions${normal}" \ >> "$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[@]}" \ "${sqlDumpDir}" "${ncDataDir}" \ 2>> "$logFile" @@ -568,7 +568,7 @@ else echo -e "${op}${stamp} Executing borg with exclusions${normal}" \ >> "$logFile" borg --show-rc create ${borgCreateParams} --exclude-from "${borgExclude}" \ - :: `date +%Y-%m-%d_%H%M%S` \ + ::`date +%Y-%m-%d_%H%M%S` \ "${xtraFiles[@]}" \ "${sqlDumpDir}" "${ncDataDir}" \ 2>> "$logFile"