set proper borg backup source paths
This commit is contained in:
parent
62652f63ba
commit
ccbd7541c2
4
.vscode/numbered-bookmarks.json
vendored
4
.vscode/numbered-bookmarks.json
vendored
@ -9,10 +9,10 @@
|
||||
196,
|
||||
268,
|
||||
119,
|
||||
507,
|
||||
-1,
|
||||
-1,
|
||||
-1,
|
||||
614
|
||||
610
|
||||
]
|
||||
}
|
||||
]
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user