48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
---
|
|
borgbackup_required: true
|
|
|
|
borgbackup_client_user: root
|
|
borgbackup_ssh_key: "~{{ borgbackup_client_user }}/.ssh/id_borg_rsa"
|
|
|
|
borgbackup_version: "1.1.4"
|
|
borgbackup_checksum: "sha256:4ecf507f21f0db7c437b2ef34566273d7ba5a7d05e921c6f0e3406c3f96933a7"
|
|
borgbackup_download_url: "https://github.com/borgbackup/borg/releases/download/{{ borgbackup_version }}/borg-linux64"
|
|
|
|
borgbackup_compression: "auto,zlib,6"
|
|
borgbackup_encryption_mode: keyfile
|
|
|
|
borgbackup_pre_commands:
|
|
- '[[ ! -f "/usr/sbin/automysqlbackup" ]] || /usr/sbin/automysqlbackup'
|
|
|
|
borgbackup_post_commands: []
|
|
|
|
borgbackup_include:
|
|
- "/etc"
|
|
- "/home"
|
|
- "/root"
|
|
- "/var/www"
|
|
- "/var/log"
|
|
|
|
borgbackup_exclude: []
|
|
|
|
borgbackup_retention:
|
|
hourly: 12
|
|
daily: 7
|
|
weekly: 4
|
|
monthly: 6
|
|
yearly: 1
|
|
|
|
borgbackup_cron_day: "*"
|
|
borgbackup_cron_hour: "{{ 5|random(seed=inventory_hostname) }}"
|
|
borgbackup_cron_minute: "{{ 59|random(seed=inventory_hostname) }}"
|
|
|
|
borgbackup_appendonly: false
|
|
borgbackup_appendonly_repoconfig: false
|
|
borgbackup_management_station: ''
|
|
borgbackup_management_user: ''
|
|
borgbackup_management_ssh_pubkey: ''
|
|
|
|
borgbackup_owner: root
|
|
borgbackup_group: root
|
|
borgbackup_shell: "/bin/bash"
|