From 49655c9641ac994dd40228d03c127d027513a4dc Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Wed, 13 Mar 2019 02:29:30 -0700 Subject: [PATCH] Add config folder for /etc files to rbackup project --- rbackup/config/etc-include.conf | 22 ++++++++++++++++++++++ rbackup/config/usr.bin.backup | 12 ++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 rbackup/config/etc-include.conf create mode 100644 rbackup/config/usr.bin.backup diff --git a/rbackup/config/etc-include.conf b/rbackup/config/etc-include.conf new file mode 100644 index 0000000..6f4dae2 --- /dev/null +++ b/rbackup/config/etc-include.conf @@ -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 diff --git a/rbackup/config/usr.bin.backup b/rbackup/config/usr.bin.backup new file mode 100644 index 0000000..19f135c --- /dev/null +++ b/rbackup/config/usr.bin.backup @@ -0,0 +1,12 @@ +#include + +/usr/bin/backup { + #include + + /etc/rbackup/ r, + /etc/rbackup/** rw, + + # binaries + /usr/bin/ r, + /usr/bin/rsync Uix, +}