Add rsync exclude var
This commit is contained in:
parent
5e7187301d
commit
aed0280f9c
2 changed files with 10 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Add table
Reference in a new issue