summaryrefslogtreecommitdiff
path: root/files/borgmatic_config.yaml.j2
blob: 1343351d689bcb75ec4e543fe9113ad812d3f66c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# SPDX-FileCopyrightText: 2024 Matthew Fennell <matthew@fennell.dev>
#
# SPDX-License-Identifier: AGPL-3.0-only

---

location:
 source_directories:
  - /etc/prosody
  - /var/lib/prosody
 repositories:
  - "{{ borg_repo }}"
storage:
 encryption_passphrase: "{{ borg_passphrase }}"
 ssh_command: ssh -i /root/.ssh/borg_key
 archive_name_format: "{{ virtual_host }}-{now}"
retention:
 keep_daily: 7
 keep_weekly: 4
 keep_monthly: 12
 keep_yearly: 10
 prefix: "{{ virtual_host }}-"
consistency:
 checks:
  - name: disabled