Adding exclude dirs and post-backup tasks
This commit is contained in:
parent
4e2f4bf3fe
commit
8cfe198f7e
2 changed files with 11 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue