set proper borg backup source paths
This commit is contained in:
Vendored
+2
-2
@@ -9,10 +9,10 @@
|
|||||||
196,
|
196,
|
||||||
268,
|
268,
|
||||||
119,
|
119,
|
||||||
|
507,
|
||||||
-1,
|
-1,
|
||||||
-1,
|
-1,
|
||||||
-1,
|
610
|
||||||
614
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
+2
-6
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user