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,
|
196,
|
||||||
268,
|
268,
|
||||||
119,
|
119,
|
||||||
|
507,
|
||||||
-1,
|
-1,
|
||||||
-1,
|
-1,
|
||||||
-1,
|
610
|
||||||
614
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user