ansible-role-borgbackup/defaults/main.yml

51 lines
1.4 KiB
YAML
Raw Normal View History

2023-04-08 19:17:38 +02:00
---
2023-04-09 11:48:20 +02:00
apt_base_url: http://ftp.de.debian.org/debian/
2023-04-08 21:07:04 +02:00
borg_encryption_passphrase: ''
borg_exclude_patterns: []
borg_one_file_system: true
borg_exclude_from: []
borg_encryption_passcommand: false
2023-04-09 10:18:11 +02:00
borg_key_export_path: "/{{ borg_user }}/borg_keys"
2023-04-08 21:07:04 +02:00
borg_lock_wait_time: 5
2023-04-09 10:15:45 +02:00
borg_ssh_key_file_path: "/{{ borg_user }}/.ssh/{{ borg_ssh_key_name }}"
2023-04-08 21:07:04 +02:00
borg_ssh_key_name: borgbackup
borg_ssh_key_type: "ed25519"
borg_ssh_command: false
borg_remote_path: false
borg_remote_rate_limit: 0
2023-04-08 21:52:23 +02:00
borg_repo_key: repokey-blake2
borg_repo_path: borg-repository
2023-04-08 21:07:04 +02:00
borg_retention_policy:
keep_hourly: 3
keep_daily: 7
keep_weekly: 4
keep_monthly: 6
2023-04-09 10:05:37 +02:00
borg_user: root
borg_group: root
2023-04-09 10:18:42 +02:00
borg_user_ssh_config_path: "/{{ borg_user }}/.ssh/config"
2023-04-08 21:07:04 +02:00
borgmatic_timer_cron_name: "borgmatic"
borgmatic_timer_hour: "{{ range(0, 5) | random(seed=inventory_hostname) }}"
borgmatic_timer_minute: "{{ range(0, 59) | random(seed=inventory_hostname) }}"
borgbase_ssh_key_name: "backup_{{ inventory_hostname }}"
2023-04-08 21:07:04 +02:00
borgmatic_config_name: config.yaml
borgmatic_hooks:
on_error:
- echo "`date` - Error while creating a backup."
before_backup:
- echo "`date` - Starting backup."
after_backup:
- echo "`date` - Finished backup."
borgmatic_checks:
- name: repository
frequency: "4 weeks"
- name: archives
frequency: "6 weeks"
borgmatic_check_last: 3
borgmatic_store_atime: true
borgmatic_store_ctime: true
borgmatic_relocated_repo_access_is_ok: false