borgbackup: backup all postgresql databases
This commit is contained in:
parent
4bd431f9c3
commit
45802cf65d
1 changed files with 12 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
||||||
- borgbackup_server
|
- borgbackup_server
|
||||||
- update_motd
|
- update_motd
|
||||||
|
|
||||||
- hosts: all,!unifi,!unifi-*
|
- hosts: all,!unifi,!unifi-*,!bdd
|
||||||
vars:
|
vars:
|
||||||
update_motd:
|
update_motd:
|
||||||
borgbackup_client: >-
|
borgbackup_client: >-
|
||||||
|
@ -18,4 +18,15 @@
|
||||||
roles:
|
roles:
|
||||||
- borgbackup_client
|
- borgbackup_client
|
||||||
- update_motd
|
- 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
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in a new issue