Clean up config files

This commit is contained in:
Eric Torres 2019-03-13 02:43:45 -07:00
parent e75b73fa7d
commit cf04e3ff8a
3 changed files with 6 additions and 39 deletions

View File

@ -1,36 +1,3 @@
## This config file is read by the backup script
## Only absolute paths are supported
## Paths with spaces must be quoted to avoid word splitting
[main]
## Compression algorithm to use (default is auto,zstd)
## Consult 'borg help compression' for more information
compression = auto,zstd
# Default options to pass to rsync
DefaultOptions = --delete
# Exclude cache directories (directories with a CACHEDIR.TAG file)
ExcludeCaches = yes
## Names to give to the archives (consult borg manual for more)
[names]
HomeArchivename = home-{utcnow}
PkgArchivename = pacman-{utcnow}
SystemArchivename = system-{utcnow}
[paths]
HomePaths = /home /root
PkgPaths = /etc/pacman.conf
/etc/pacman.d
/var/lib/pacman
/var/log/pacman.log
SystemPaths = /boot/loader /etc /var/lib
## Settings for backup-prune
[prune]
KeepHourly=1
KeepDaily=1
KeepWeekly=1
KeepMonthly=1
KeepYearly=1

View File

@ -2,8 +2,8 @@
## Any desired files need to be included in this file
## Paths should be provided relative to /etc
## i.e. /etc/NetworkManager/NetworkManager.conf -> NetworkManager/NetworkManager.conf
# ========== Default Files/Directories ==========
#
# ========== Default Files/Directories ===========
NetworkManager/
apparmor.d/
default/tlp

View File

@ -1,7 +1,7 @@
# Paths to be excluded from home directory backup by default
# Blank lines, and lines beginning with # or ; will be ignored
# Use relative paths
## Paths to be excluded from users' home directory backup by default
## Blank lines, and lines beginning with # or ; will be ignored
## Use paths relative to /home
#
# -----------------------------------
# Default files to be excluded
# -----------------------------------