summaryrefslogtreecommitdiffstats
path: root/modules/borgmatic/templates/config.yaml
blob: 034405b0df36a9f2c4b14aaea401ab99ca2f7ec0 (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
location:
    source_directories:
        - /home
        - /etc
        - /usr/local/bin
    repositories:
        - borg@<%= @borgmatic_host %>:<%= @current_hostname %>
    atime: false
    exclude_patterns:
        - /home/*/.cache
        - /home/*/.cargo
        - /home/*/.rustup
        - /home/doy/coding/*/target
        - /home/doy/mnt
        - /home/doy/tmp

storage:
    encryption_passphrase: "<%= @borgmatic_passphrase %>"
    ssh_command: /usr/bin/ssh -i /etc/borgmatic/borg_ssh_key -o StrictHostKeyChecking=no

retention:
    keep_daily: 7
    keep_weekly: 4
    keep_monthly: 12
    keep_yearly: 1000