From e911151f9dc47f61a15b90a69ab8a0713d14d047 Mon Sep 17 00:00:00 2001 From: Zolfa Date: Thu, 24 Dec 2020 17:21:38 +0100 Subject: [PATCH] playbooks/matrix-synapse: configure backup --- host_matrix.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/host_matrix.yaml b/host_matrix.yaml index 5ef37f4..6b1196c 100644 --- a/host_matrix.yaml +++ b/host_matrix.yaml @@ -22,6 +22,18 @@ - role: 'riot-web' riot_web_nginx_fqdn: "riot.sestograd.org" - role: 'monitoring-agent' + - role: 'borgrepo' + borgrepo_repos: + core: + folders: + synapse_data: + path: '/var/lib/matrix-synapse' + synapse_conf: + path: '/etc/matrix-synapse' + pgsql_dbs: + synapse_db: + dbname: 'synapse' + tags: borg - hosts: 'monitoring_hosts' roles: