From 90f8118db5ae39b9c29e58098f1e0db630abbe9f Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Thu, 25 Jul 2019 02:56:32 -0600 Subject: [PATCH] additional files to backup -- sample default --- xtraLocations.borg | 71 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 xtraLocations.borg diff --git a/xtraLocations.borg b/xtraLocations.borg new file mode 100644 index 0000000..f573f63 --- /dev/null +++ b/xtraLocations.borg @@ -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/