include mailcow.conf directory in backup
This commit is contained in:
parent
8486c4b7d2
commit
7293a29a05
@ -670,6 +670,7 @@ printf "%s[%s] -- [INFO] Pre-backup tasks completed, calling borgbackup --%s\n"
|
|||||||
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) \
|
||||||
|
${mcConfig%/*} \
|
||||||
${sqlDumpDir} \
|
${sqlDumpDir} \
|
||||||
${dockerVolumeMail} \
|
${dockerVolumeMail} \
|
||||||
${dockerVolumeRspamd} \
|
${dockerVolumeRspamd} \
|
||||||
@ -681,6 +682,7 @@ 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) \
|
||||||
|
${mcConfig%/*} \
|
||||||
${sqlDumpDir} \
|
${sqlDumpDir} \
|
||||||
${dockerVolumeMail} \
|
${dockerVolumeMail} \
|
||||||
${dockerVolumeRspamd} \
|
${dockerVolumeRspamd} \
|
||||||
|
Loading…
Reference in New Issue
Block a user