diff --git a/host_vars/zamok.adm.crans.org.yml b/host_vars/zamok.adm.crans.org.yml
new file mode 100644
index 0000000000000000000000000000000000000000..bf60fd812bd4dee43b38d9b2c7b71293c520a6b1
--- /dev/null
+++ b/host_vars/zamok.adm.crans.org.yml
@@ -0,0 +1,9 @@
+---
+loc_borg:
+  to_exclude:
+    - /var/mail
+  hooks:
+    - type: mysql_databases
+      params:
+        - "- name: all"
+        - "  password: {{ vault_mysql_zamok_password }}"
diff --git a/roles/borgbackup-client/templates/borgmatic/config.yaml.j2 b/roles/borgbackup-client/templates/borgmatic/config.yaml.j2
index 94750a2c7ac7e3017cd60f48927b9fe760197a16..a1d5b0ae793a1f9c1d29b1ca19aec7083256bfd3 100644
--- a/roles/borgbackup-client/templates/borgmatic/config.yaml.j2
+++ b/roles/borgbackup-client/templates/borgmatic/config.yaml.j2
@@ -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 %}