Move project config files out of rbackup package
This commit is contained in:
6
config_files/backup.conf
Normal file
6
config_files/backup.conf
Normal 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 =
|
22
config_files/etc-include.conf
Normal file
22
config_files/etc-include.conf
Normal 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
|
10
config_files/home-exclude.conf
Normal file
10
config_files/home-exclude.conf
Normal 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
|
11
config_files/system-include.conf
Normal file
11
config_files/system-include.conf
Normal 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
|
12
config_files/usr.bin.backup
Normal file
12
config_files/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,
|
||||
}
|
Reference in New Issue
Block a user