Move project config files out of rbackup package

This commit is contained in:
Eric Torres
2019-04-19 09:45:03 -07:00
parent 3b4308f4e5
commit 991d0977aa
6 changed files with 2 additions and 2 deletions

6
config_files/backup.conf Normal file
View File

@ -0,0 +1,6 @@
## This config file is read by the backup scripts
## JSON-style lists are supported for certain options
[main]
## If given, must be an array that can be JSON-decoded
#RsyncOptions =

View File

@ -0,0 +1,22 @@
# ==================================================================
## Files in /etc are backed up on the basis of a whitelist
## Paths should be provided relative to /
## i.e. /etc/NetworkManager/NetworkManager.conf -> etc/NetworkManager/NetworkManager.conf
# ==================================================================
etc/NetworkManager
etc/apparmor.d
etc/default/tlp
etc/geoclue/geoclue.conf
etc/mkinitcpio.conf
etc/modprobe.d
etc/pacman.conf
etc/pacman.d
etc/safe-rm.conf
etc/sddm.conf
etc/sudoers
etc/sudoers.d
etc/sysctl.d
etc/systemd
etc/updatedb.conf
etc/zsh

View File

@ -0,0 +1,10 @@
## 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
# -----------------------------------
home/*/.cache
home/*/.esd_auth
home/*/.Xauthority

View File

@ -0,0 +1,11 @@
# ==================================================================
## Files on the system are backed up on the basis of a whitelist
## Any other desired files need to be included in this file
## Paths should be provided relative to /
## i.e. /etc/NetworkManager/NetworkManager.conf -> etc/NetworkManager/NetworkManager.conf
# ==================================================================
boot/loader
home
root
var/lib/pacman

View File

@ -0,0 +1,12 @@
#include <tunables/global>
/usr/bin/backup {
#include <abstractions/python>
/etc/rbackup/ r,
/etc/rbackup/** rw,
# binaries
/usr/bin/ r,
/usr/bin/rsync Uix,
}