diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-03-25 21:01:23 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-03-25 21:01:23 -0400 |
commit | 6c81e1b01e0850be93419b68d4c61529de519d2a (patch) | |
tree | 0dfdd5574b16cbb03dd819f8c3186572c86ab846 /modules/borgmatic/templates | |
parent | d8f2b5669bb53f4a60979601ddd966f8c5ae12af (diff) | |
download | puppet-tozt-6c81e1b01e0850be93419b68d4c61529de519d2a.tar.gz puppet-tozt-6c81e1b01e0850be93419b68d4c61529de519d2a.zip |
refactor
Diffstat (limited to 'modules/borgmatic/templates')
-rw-r--r-- | modules/borgmatic/templates/config.yaml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/borgmatic/templates/config.yaml b/modules/borgmatic/templates/config.yaml new file mode 100644 index 0000000..60a1e42 --- /dev/null +++ b/modules/borgmatic/templates/config.yaml @@ -0,0 +1,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 |