ansible-borgbackup/defaults/main.yml

25 lines
511 B
YAML
Raw Normal View History

2017-09-07 18:35:01 +00:00
---
backup_required: True
restore: False
2017-09-12 18:56:50 +00:00
borg_version: "1.0.11"
borg_checksum: "sha256:fbdc0e0d6d05a0935551f2f408f370236a76b7a30d3bb90a31c3628fe3611359"
2017-09-07 18:35:01 +00:00
borg_download_url: "https://github.com/borgbackup/borg/releases/download/{{ borg_version }}/borg-linux64"
backup_pre_commands:
- '[[ ! -f "/usr/sbin/automysqlbackup" ]] || /usr/sbin/automysqlbackup'
backup_include:
- "/etc"
- "/home"
- "/root"
- "/var/www"
- "/var/log"
retention:
hourly: 12
daily: 7
weekly: 4
monthly: 6
yearly: 1