feat: Allow to backup mariadb
This commit is contained in:
parent
914fbcf364
commit
4ddfba9bdd
@ -34,4 +34,5 @@ borgmatic_passphrase: ""
|
||||
|
||||
borgmatic_actions: {}
|
||||
|
||||
borgmatic_mariadb_enabled: false
|
||||
borgmatic_restore_first: false
|
||||
|
@ -32,9 +32,9 @@ checks:
|
||||
healthchecks:
|
||||
ping_url: {{ borgmatic_healthchecks }}
|
||||
send_logs: false
|
||||
states:
|
||||
- finish
|
||||
- fail
|
||||
# states:
|
||||
# - finish
|
||||
# - fail
|
||||
|
||||
{% if borgmatic_retention | length > 0 %}
|
||||
{% for param, value in borgmatic_retention.items() %}
|
||||
@ -50,3 +50,10 @@ keep_{{ param }}: {{ value }}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if borgmatic_mariadb_enabled | length > 0 %}
|
||||
mariadb_databases:
|
||||
- name: all
|
||||
format: sql
|
||||
add_drop_database: true
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user