Initial commit
This commit is contained in:
36
rbackup/config/backup.conf
Normal file
36
rbackup/config/backup.conf
Normal file
@@ -0,0 +1,36 @@
|
||||
## 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
|
10
rbackup/config/home-exclude.conf
Normal file
10
rbackup/config/home-exclude.conf
Normal file
@@ -0,0 +1,10 @@
|
||||
# Paths to be excluded from home directory backup by default
|
||||
# Blank lines, and lines beginning with # or ; will be ignored
|
||||
# Use relative paths
|
||||
|
||||
# -----------------------------------
|
||||
# Default files to be excluded
|
||||
# -----------------------------------
|
||||
.cache
|
||||
.esd_auth
|
||||
.Xauthority
|
28
rbackup/config/system-exclude.conf
Normal file
28
rbackup/config/system-exclude.conf
Normal file
@@ -0,0 +1,28 @@
|
||||
# Paths to be excluded from backup by default
|
||||
# Blank lines, and lines beginning with # or ; will be ignored
|
||||
# Use relative paths
|
||||
# Regular expressions are valid and can be used
|
||||
|
||||
# -----------------------------------
|
||||
# Default files from /etc to be excluded
|
||||
# -----------------------------------
|
||||
ca-certificates
|
||||
fonts
|
||||
*fstab*
|
||||
*group*
|
||||
hostname
|
||||
hosts
|
||||
mtab
|
||||
os-release
|
||||
*passwd*
|
||||
*shadow*
|
||||
resolv.conf*
|
||||
ssl
|
||||
systemd/system
|
||||
systemd/user
|
||||
xdg
|
||||
xml
|
||||
|
||||
# -----------------------------------
|
||||
# User-included paths
|
||||
# -----------------------------------
|
Reference in New Issue
Block a user