update: new version borgmatic, remove section location,retention,storage
parent
b0e3952891
commit
f5cdd6b407
|
|
@ -1,6 +1,6 @@
|
|||
{{ ansible_header | comment }}
|
||||
|
||||
location:
|
||||
#location
|
||||
source_directories:
|
||||
{% for dir in borg.to_backup %}
|
||||
- {{ dir }}
|
||||
|
|
@ -8,7 +8,7 @@ location:
|
|||
|
||||
repositories:
|
||||
{% for remote in borg.remote %}
|
||||
- {{ remote }}
|
||||
- path {{ remote }}
|
||||
{% endfor %}
|
||||
|
||||
exclude_patterns:
|
||||
|
|
@ -24,9 +24,9 @@ location:
|
|||
exclude_if_present:
|
||||
- .nobackup
|
||||
|
||||
borgmatic_source_directory: /tmp/borgmatic
|
||||
user_runtime_directory: /tmp/borgmatic
|
||||
|
||||
storage:
|
||||
#storage
|
||||
relocated_repo_access_is_ok: true
|
||||
encryption_passphrase: {{ borg.encryption_passphrase }}
|
||||
ssh_command: ssh -i /etc/borgmatic/id_ed25519_borg {{ borg.ssh_options | default("") }}
|
||||
|
|
@ -65,11 +65,10 @@ storage:
|
|||
check: {% for cmd in extra_check %}--{{ cmd }} {% endfor %}
|
||||
{% endif %}
|
||||
|
||||
retention:
|
||||
#retention
|
||||
{% for retention in borg.retention %}
|
||||
keep_{{ retention[0] }}: {{ retention[1] }}
|
||||
{% endfor %}
|
||||
prefix: '{hostname}-'
|
||||
|
||||
skip_actions:
|
||||
{% for action in borg.skip_actions %}
|
||||
|
|
|
|||
Loading…
Reference in New Issue