Skip to content
Snippets Groups Projects
Commit 4f4e0e4b authored by Maxime Bombar's avatar Maxime Bombar
Browse files

backup MySQL db on Zamok

parent 816a63ad
No related branches found
No related tags found
1 merge request!154Zamok
---
loc_borg:
to_exclude:
- /var/mail
hooks:
- type: mysql_databases
params:
- "- name: all"
- " password: {{ vault_mysql_zamok_password }}"
......@@ -77,12 +77,13 @@ consistency:
{% endfor %}
{% if borg.hooks | default([]) %}
hooks:
hooks:
{% for hook in borg.hooks %}
{{ hook.type }}:
{% for value in hook.values %}
- {{ value }}
{% endfor %}
{{ hook.type }}:
{% for param in hook.params %}
{{ param }}
{% endfor %}
umask: 0077
{% endfor %}
umask: 0077
{% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment