2017-09-07 18:35:01 +00:00
|
|
|
---
|
2017-10-01 11:05:59 +00:00
|
|
|
borgbackup_required: True
|
2017-09-07 18:35:01 +00:00
|
|
|
|
2017-10-01 11:05:59 +00:00
|
|
|
borgbackup_version: "1.0.11"
|
|
|
|
borgbackup_checksum: "sha256:fbdc0e0d6d05a0935551f2f408f370236a76b7a30d3bb90a31c3628fe3611359"
|
|
|
|
borgbackup_download_url: "https://github.com/borgbackup/borg/releases/download/{{ borgbackup_version }}/borg-linux64"
|
2017-09-07 18:35:01 +00:00
|
|
|
|
2017-10-01 11:05:59 +00:00
|
|
|
borgbackup_pre_commands:
|
2017-09-07 18:35:01 +00:00
|
|
|
- '[[ ! -f "/usr/sbin/automysqlbackup" ]] || /usr/sbin/automysqlbackup'
|
|
|
|
|
2017-10-01 11:05:59 +00:00
|
|
|
borgbackup_include:
|
2017-09-07 18:35:01 +00:00
|
|
|
- "/etc"
|
|
|
|
- "/home"
|
|
|
|
- "/root"
|
|
|
|
- "/var/www"
|
|
|
|
- "/var/log"
|
|
|
|
|
2017-10-01 11:05:59 +00:00
|
|
|
borgbackup_retention:
|
2017-09-07 18:35:01 +00:00
|
|
|
hourly: 12
|
|
|
|
daily: 7
|
|
|
|
weekly: 4
|
|
|
|
monthly: 6
|
|
|
|
yearly: 1
|
2017-10-01 11:05:59 +00:00
|
|
|
|
2017-10-01 18:01:19 +00:00
|
|
|
borgbackup_cron_user: root
|
|
|
|
borgbackup_cron_day: "*"
|
|
|
|
borgbackup_cron_hour: "{{ 59|random }}"
|
|
|
|
borgbackup_cron_minute: "{{ 5|random }}"
|
|
|
|
|
2017-10-01 17:24:50 +00:00
|
|
|
borgbackup_appendonly: False
|
2017-10-01 11:05:59 +00:00
|
|
|
borgbackup_management_station: ''
|
2017-10-01 17:24:50 +00:00
|
|
|
borgbackup_management_user: ''
|
|
|
|
borgbackup_management_sshkey: ''
|