feat: Allow to backup postgresql

This commit is contained in:
pulsar89.5 2024-06-21 12:22:53 +02:00
parent 5f9a70824d
commit e37a46e7e6
2 changed files with 9 additions and 0 deletions

View File

@ -35,4 +35,5 @@ borgmatic_passphrase: ""
borgmatic_actions: {} borgmatic_actions: {}
borgmatic_mariadb_enabled: false borgmatic_mariadb_enabled: false
borgmatic_postgresql_enabled: false
borgmatic_restore_first: false borgmatic_restore_first: false

View File

@ -59,3 +59,11 @@ mariadb_databases:
format: sql format: sql
add_drop_database: true add_drop_database: true
{% endif %} {% endif %}
{% if borgmatic_postgresql_enabled %}
postgresql_databases:
- name: all
username: postgres
format: plain
add_drop_database: true
{% endif %}