Adding exclude dirs and post-backup tasks

This commit is contained in:
Dieter Verhelst 2018-01-11 23:24:11 +01:00
parent 4e2f4bf3fe
commit 8cfe198f7e
2 changed files with 11 additions and 1 deletions

View file

@ -10,6 +10,8 @@ borgbackup_download_url: "https://github.com/borgbackup/borg/releases/download/{
borgbackup_pre_commands:
- '[[ ! -f "/usr/sbin/automysqlbackup" ]] || /usr/sbin/automysqlbackup'
borgbackup_post_commands: []
borgbackup_include:
- "/etc"
- "/home"
@ -17,6 +19,8 @@ borgbackup_include:
- "/var/www"
- "/var/log"
borgbackup_exclude: []
borgbackup_retention:
hourly: 12
daily: 7