Compare commits
2 Commits
62652f63ba
...
90f8118db5
Author | SHA1 | Date | |
---|---|---|---|
|
90f8118db5 | ||
|
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
|
||||
|
71
xtraLocations.borg
Normal file
71
xtraLocations.borg
Normal file
@ -0,0 +1,71 @@
|
||||
# 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/
|
Loading…
Reference in New Issue
Block a user