diff --git a/configs.yml b/configs.yml index edb72b8..926f9d2 100644 --- a/configs.yml +++ b/configs.yml @@ -430,6 +430,14 @@ pacman_hooks: - run: - sudo ln -rsi dotfiles/pacman_hooks/paccache.hook /etc/pacman.d/hooks/paccache.hook +rsync_backup: + - run: + - sudo ln -rsi dotfiles/systemd_timers/rsync_backup.timer /etc/systemd/system/rsync_backup.timer + - run: + - sudo ln -rsi dotfiles/systemd_timers/rsync_backup.service /etc/systemd/system/rsync_backup.service + - run: + - sudo systemctl enable rsync_backup.timer + latex: - install: arch: diff --git a/secrets.template b/secrets.template index 91c39ec..4680a4f 100644 --- a/secrets.template +++ b/secrets.template @@ -10,6 +10,8 @@ export RSYNC_BACKUP_SRC=/home export RSYNC_BACKUP_DEST=/path/to/backup/destination +export RSYNC_EXCLUDES='{"/path/*","/other/path/*"}' + export BORG_REPO='user@ho.st' export BORG_PASSPHRASE='passphrase'