set proper borg backup source paths

This commit is contained in:
Asif Bacchus 2019-07-25 00:56:49 -06:00
parent 62652f63ba
commit ccbd7541c2
2 changed files with 4 additions and 8 deletions

View File

@ -9,10 +9,10 @@
196, 196,
268, 268,
119, 119,
507,
-1, -1,
-1, -1,
-1, 610
614
] ]
} }
] ]

View File

@ -509,16 +509,12 @@ export TMPDIR="${borgBaseDir}/tmp"
if [ "$exclusions" -eq 0 ]; then if [ "$exclusions" -eq 0 ]; then
borgCMD="borg --show-rc create ${borgCreateParams} \ borgCMD="borg --show-rc create ${borgCreateParams} \
::$(date +%Y-%m-%d_%H%M%S) \ ::$(date +%Y-%m-%d_%H%M%S) \
${seafDir} \ ${exportDir}"
${seafData} \
${sqlDumpDir}"
elif [ "$exclusions" -eq 1 ]; then elif [ "$exclusions" -eq 1 ]; then
borgCMD="borg --show-rc create ${borgCreateParams} \ borgCMD="borg --show-rc create ${borgCreateParams} \
--exclude-from ${borgExcludeListPath} \ --exclude-from ${borgExcludeListPath} \
::$(date +%Y-%m-%d_%H%M%S) \ ::$(date +%Y-%m-%d_%H%M%S) \
${seafDir} \ ${exportDir}"
${seafData} \
${sqlDumpDir}"
fi fi
# add extra locations if defined # add extra locations if defined