From ccbd7541c2de928b03baa01f7628e3d691a114a9 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Thu, 25 Jul 2019 00:56:49 -0600 Subject: [PATCH] set proper borg backup source paths --- .vscode/numbered-bookmarks.json | 4 ++-- pilerbackup.sh | 8 ++------ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.vscode/numbered-bookmarks.json b/.vscode/numbered-bookmarks.json index 9677aaf..468426e 100644 --- a/.vscode/numbered-bookmarks.json +++ b/.vscode/numbered-bookmarks.json @@ -9,10 +9,10 @@ 196, 268, 119, + 507, -1, -1, - -1, - 614 + 610 ] } ] diff --git a/pilerbackup.sh b/pilerbackup.sh index 053f68c..2ff97fa 100644 --- a/pilerbackup.sh +++ b/pilerbackup.sh @@ -509,16 +509,12 @@ export TMPDIR="${borgBaseDir}/tmp" if [ "$exclusions" -eq 0 ]; then borgCMD="borg --show-rc create ${borgCreateParams} \ ::$(date +%Y-%m-%d_%H%M%S) \ - ${seafDir} \ - ${seafData} \ - ${sqlDumpDir}" + ${exportDir}" elif [ "$exclusions" -eq 1 ]; then borgCMD="borg --show-rc create ${borgCreateParams} \ --exclude-from ${borgExcludeListPath} \ ::$(date +%Y-%m-%d_%H%M%S) \ - ${seafDir} \ - ${seafData} \ - ${sqlDumpDir}" + ${exportDir}" fi # add extra locations if defined