2017-09-07 18:35:01 +00:00
|
|
|
---
|
2018-08-30 21:37:26 +00:00
|
|
|
borgbackup_required: true
|
2017-09-07 18:35:01 +00:00
|
|
|
|
2018-01-28 17:01:15 +00:00
|
|
|
borgbackup_client_user: root
|
|
|
|
borgbackup_ssh_key: "~{{ borgbackup_client_user }}/.ssh/id_borg_rsa"
|
2017-11-12 14:02:50 +00:00
|
|
|
|
2019-07-11 20:08:09 +00:00
|
|
|
borgbackup_version: "1.1.10"
|
|
|
|
borgbackup_checksum: "sha256:6338d67aad4b5cd327b25ea363e30f0ed4abc425ce2d6a597c75a67a876ef9af"
|
2017-10-01 11:05:59 +00:00
|
|
|
borgbackup_download_url: "https://github.com/borgbackup/borg/releases/download/{{ borgbackup_version }}/borg-linux64"
|
2017-09-07 18:35:01 +00:00
|
|
|
|
2018-01-29 19:34:41 +00:00
|
|
|
borgbackup_compression: "auto,zlib,6"
|
2018-01-28 18:35:00 +00:00
|
|
|
borgbackup_encryption_mode: keyfile
|
2018-01-29 19:34:41 +00:00
|
|
|
|
2017-10-01 11:05:59 +00:00
|
|
|
borgbackup_pre_commands:
|
2019-07-11 20:08:09 +00:00
|
|
|
- "[ -d /etc/backup.d/ ] && run-parts --verbose /etc/backup.d/"
|
2017-09-07 18:35:01 +00:00
|
|
|
|
2018-01-11 22:24:11 +00:00
|
|
|
borgbackup_post_commands: []
|
|
|
|
|
2017-10-01 11:05:59 +00:00
|
|
|
borgbackup_include:
|
2019-07-11 20:08:09 +00:00
|
|
|
- "/"
|
2017-09-07 18:35:01 +00:00
|
|
|
|
2019-07-11 20:08:09 +00:00
|
|
|
borgbackup_exclude:
|
|
|
|
- "*/local/*"
|
|
|
|
- "*/tmp/*"
|
|
|
|
- "*CACHE*"
|
|
|
|
- "/dev"
|
|
|
|
- "/proc"
|
|
|
|
- "/run"
|
|
|
|
- "/sys"
|
|
|
|
- "/tmp"
|
|
|
|
- "/var/cache/apt"
|
|
|
|
- "/var/lib/amavis/tmp"
|
|
|
|
- "/var/lib/amavis/virusmails"
|
|
|
|
- "/var/lib/lxc"
|
|
|
|
- "/var/lib/lxcfs"
|
|
|
|
- "/var/lib/php/sessions"
|
|
|
|
- "/var/lib/php5"
|
|
|
|
- "/var/run"
|
|
|
|
- "/var/spool/postfix"
|
|
|
|
- "/var/tmp"
|
2018-01-11 22:24:11 +00:00
|
|
|
|
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_day: "*"
|
2018-08-28 10:58:28 +00:00
|
|
|
borgbackup_cron_hour: "{{ 5|random(seed=inventory_hostname) }}"
|
|
|
|
borgbackup_cron_minute: "{{ 59|random(seed=inventory_hostname) }}"
|
2017-10-01 18:01:19 +00:00
|
|
|
|
2018-08-30 21:37:26 +00:00
|
|
|
borgbackup_appendonly: false
|
|
|
|
borgbackup_appendonly_repoconfig: false
|
2017-10-01 11:05:59 +00:00
|
|
|
borgbackup_management_station: ''
|
2017-10-01 17:24:50 +00:00
|
|
|
borgbackup_management_user: ''
|
2017-11-12 14:02:50 +00:00
|
|
|
borgbackup_management_ssh_pubkey: ''
|
2018-01-11 22:26:43 +00:00
|
|
|
|
2019-07-11 20:08:09 +00:00
|
|
|
borgbackup_management_copy_keys: true
|
|
|
|
borgbackup_management_key_name: 'backupserver_example_com__repo_dir_'
|
|
|
|
|
|
|
|
|
|
|
|
borgbackup_remote_ratelimit: 6250 # in KiB/s so 6250 <-> 50Mb/s
|
2018-01-11 22:26:43 +00:00
|
|
|
borgbackup_owner: root
|
|
|
|
borgbackup_group: root
|
|
|
|
borgbackup_shell: "/bin/bash"
|