Add config folder for /etc files to rbackup project
This commit is contained in:
parent
b09be02fab
commit
49655c9641
22
rbackup/config/etc-include.conf
Normal file
22
rbackup/config/etc-include.conf
Normal 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
|
12
rbackup/config/usr.bin.backup
Normal file
12
rbackup/config/usr.bin.backup
Normal 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,
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user