summaryrefslogtreecommitdiff
blob: 864c8a6c67093f9669b1a587ec5167c735e28d9d (plain) (blame)
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
26
27
28
29
30
31
32
33
34
35
36
location:
    # List of source directories to backup. Globs are expanded.
    source_directories:
{% for dir in backup.dirs %}
        - {{ dir }}
{% endfor %}

    # Paths to local or remote repositories.
    repositories:
        - {{ backup.host }}:{{ inventory_hostname }}

    one_file_system: True
    remote_path: borg1

    # Any paths matching these patterns are excluded from backups.
    exclude_patterns:
        - /home/*/.cache

storage:
    encryption_passphrase: {{ backup.phrase }}
    compression: lz4

retention:
    # Retention policy for how many backups to keep in each category.
    keep_within: 3H
    keep_daily: 7
    keep_weekly: 2
    keep_monthly: 3

consistency:
    # List of consistency checks to run: "repository", "archives", or both.
    checks:
        - repository
        - archives

    check_last: 1
Powered by cgit v1.2.3 (git 2.41.0)