Compare commits

..

No commits in common. "90f8118db5ae39b9c29e58098f1e0db630abbe9f" and "62652f63ba2ccedb493cfe9c16307a5238798c80" have entirely different histories.

3 changed files with 8 additions and 75 deletions

View File

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

View File

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

View File

@ -1,71 +0,0 @@
# Files and directories listed here will be included in your borg backup along
# with your EML files exported from piler.
# List the path to files/directories one per line.
# Any blank lines will be ignored.
# Any lines starting with '#' will be ignored as a comment.
# For consistency, you should include the trailing slash for directories.
# important system configuration files for reference during a restore
/etc/fstab
/etc/network/interfaces
/etc/network/interfaces.d/
/etc/systemd/timesyncd.conf
# ssh configuration and hostkeys
/etc/ssh/
# apt configuration (auto updates and source lists)
/etc/apt/sources.list
/etc/apt/sources.list.d/
/etc/apt/listchanges.conf
/etc/apt/apt.conf.d/50unattended-upgrades
/etc/apt/apt.conf.d/20auto-upgrades
# user profile defaults and configurations
/etc/profile
/etc/bash.bashrc
/etc/skel/
/etc/nanorc
# root user files
/root/.bashrc
/root/.ssh/
/root/scripts/
### piler configuration files and KEY!
/etc/piler/
### configuration files for programs supporting piler
# letsencrypt
/etc/letsencrypt/
# mysql/mariadb
/etc/mysql/my.cnf
/etc/mysql/conf.d/
# NGINX
/etc/nginx/
/usr/share/nginx/html/
# PHP
/etc/php/
# exim4 (outgoing smarthost for piler)
/etc/exim4/
/etc/aliases
### other installed program configurations
# fail2ban
/etc/fail2ban/fail2ban.local
/etc/fail2ban/jail.local
/etc/fail2ban/action.d/ufw.conf
/etc/fail2ban/jail.d/
# logwatch
/etc/logwatch/