borgbackup: backup all postgresql databases

This commit is contained in:
Alexandre Iooss 2021-11-28 10:49:45 +01:00
parent 4bd431f9c3
commit 45802cf65d

View file

@ -10,7 +10,7 @@
- borgbackup_server
- update_motd
- hosts: all,!unifi,!unifi-*
- hosts: all,!unifi,!unifi-*,!bdd
vars:
update_motd:
borgbackup_client: >-
@ -18,4 +18,15 @@
roles:
- borgbackup_client
- update_motd
# On databases server, also backup databases
- hosts: bdd
vars:
borg_postgresql_databases: true
update_motd:
borgbackup_client: >-
BorgBackup est déployé (/etc/borgmatic/config.yaml)
roles:
- borgbackup_client
- update_motd
...