From b8a806dfc701118ce1f10d5332093ac1f710d808 Mon Sep 17 00:00:00 2001 From: Tharre Date: Tue, 27 Mar 2018 07:02:36 +0200 Subject: arch-system: add backup-system package This implements fully automated, hourly backups of my /home via borgbackup, btrfs and systemd timers. Note that `setup_borgbackup`, a related function that is part of my dotfiles, is needed to setup backups for the first time, as well as a call to `borg init` with the proper environment variables. --- arch-system/sudoers-borgbackup | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 arch-system/sudoers-borgbackup (limited to 'arch-system/sudoers-borgbackup') diff --git a/arch-system/sudoers-borgbackup b/arch-system/sudoers-borgbackup new file mode 100644 index 0000000..a6f40b0 --- /dev/null +++ b/arch-system/sudoers-borgbackup @@ -0,0 +1,4 @@ +# /etc/sudoers.d/borgbackup + +# allow systemd service files to call backup-sudo +%wheel ALL=(root) NOPASSWD: /usr/bin/backup-sudo -- cgit v1.2.3-70-g09d2