Add rsync exclude var

This commit is contained in:
flyingscorpio@arch-desktop 2021-04-05 20:11:26 +02:00
parent 5e7187301d
commit aed0280f9c
2 changed files with 10 additions and 0 deletions

View file

@ -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:

View file

@ -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'