diff --git a/503_backup.html b/503_backup.html new file mode 100644 index 0000000..f8c12ec --- /dev/null +++ b/503_backup.html @@ -0,0 +1,26 @@ + + + + + + 503 - Unavailable: Backup in progress + + + + + + +

Bad timing!

+

Seems you're trying to access me during my daily backup window. Don't worry though, I should be up and running again very soon.

+

My average backup window duration is pretty short and I'm quite busy during that time copying your super-important files to my secure hiding place so they stay safe in case anything ever happens to me!

+

I'm really sorry for the delay. Please try me again soon!

+ + + \ No newline at end of file diff --git a/excludeLocations.borg b/excludeLocations.borg new file mode 100644 index 0000000..fd36bf5 --- /dev/null +++ b/excludeLocations.borg @@ -0,0 +1,5 @@ +'/var/seafile/seafile-data/httptemp/' +'/var/seafile/seafile-data/thumbnails/' +'/var/seafile/seafile-data/tmpfiles/' +'/var/seafile/seafile-data/webdavtmp/' +EOF diff --git a/xtraLocations.borg b/xtraLocations.borg new file mode 100644 index 0000000..f784d20 --- /dev/null +++ b/xtraLocations.borg @@ -0,0 +1,66 @@ +# Files and directories listed here will be included in your borg backup along +# with your Seafile program and data files. +# 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 +/etc/systemd/system/seafile.service +/etc/systemd/system/seahub.service + +# 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/SeafBackup/ + + +### configuration files for programs related to Seafile + +# letsencrypt +/etc/letsencrypt/ + +# mysql/mariadb +/etc/mysql/my.cnf +/etc/mysql/conf.d/ + +# NGINX +/etc/nginx/ +/usr/share/nginx/html/ + + +### other installed program configurations + +# fail2ban +/etc/fail2ban/fail2ban.local +/etc/fail2ban/jail.local +/etc/fail2ban/filter.d/seafile-auth.conf +/etc/fail2ban/jail.d/ + +# logwatch +/etc/logwatch/ + +# msmtp +/etc/msmtprc +/etc/msmtp_aliases