Add config folder for /etc files to rbackup project

This commit is contained in:
Eric Torres 2019-03-13 02:29:30 -07:00
parent b09be02fab
commit 49655c9641
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,22 @@
## Files in /etc are backed up on the basis of a whitelist
## 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 ==========
NetworkManager/
apparmor.d/
default/tlp
geoclue/geoclue.conf
mkinitcpio.conf
modprobe.d/
pacman.conf
pacman.d/
safe-rm.conf
sddm.conf
sudoers
sudoers.d/
sysctl.d/
systemd
updatedb.conf
zsh

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,
}