58 lines
1.3 KiB
YAML
58 lines
1.3 KiB
YAML
---
|
|
# defaults file for borgmatic
|
|
|
|
# Define path to store borgmatic configuration and ssh keys
|
|
borgmatic_conf_path: /etc/borgmatic.d
|
|
|
|
# Configure bormatic
|
|
borgmatic_checks:
|
|
- name: repository
|
|
frequency: 4 weeks
|
|
- name: extract
|
|
frequency: 2 weeks
|
|
|
|
borgmatic_healthchecks: ""
|
|
borgmatic_exclude_patterns: []
|
|
|
|
borgmatic_repositories: []
|
|
# Exemple:
|
|
# - label: default
|
|
# path: ssh://user@backupserver/./sourcehostname.borg
|
|
|
|
borgmatic_source_directories: []
|
|
|
|
borgmatic_retention:
|
|
daily: 7
|
|
monthly: 0
|
|
weekly: 4
|
|
|
|
borgmatic_name: "{{ inventory_hostname }}_{now}"
|
|
borgmatic_compression: lz4
|
|
borgmatic_passphrase: ""
|
|
|
|
borgmatic_actions: {}
|
|
|
|
borgmatic_mariadb_enabled: false
|
|
borgmatic_postgresql_enabled: false
|
|
borgmatic_restore_first: true
|
|
|
|
# targets
|
|
## BorgServer configuration
|
|
borgmatic_server: {}
|
|
# Example:
|
|
# host: borg.service.gaia.ykn.fr
|
|
# repo_path: /srv/borg
|
|
# user: borg
|
|
# group: borg
|
|
|
|
## BorgWarehouse configuration
|
|
borgmatic_borgwarehouse_url: ""
|
|
borgmatic_borgwarehouse_key: ""
|
|
borgmatic_borgwarehouse_alias: "{{ inventory_hostname }}"
|
|
borgmatic_borgwarehouse_sshPublicKey: ""
|
|
borgmatic_borgwarehouse_storageSize: 100
|
|
borgmatic_borgwarehouse_comment: ""
|
|
borgmatic_borgwarehouse_alert: 90000 # one day
|
|
borgmatic_borgwarehouse_lanCommand: true
|
|
borgmatic_borgwarehouse_appendOnlyMode: false
|