From ce241fd98d6ae3234a12256524629d5fda7707f4 Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Tue, 20 Jan 2026 13:47:10 +0100 Subject: [PATCH] feat: add redacted borgmatic config --- home/oli/.config/borgmatic/config.yaml | 50 ++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 home/oli/.config/borgmatic/config.yaml diff --git a/home/oli/.config/borgmatic/config.yaml b/home/oli/.config/borgmatic/config.yaml new file mode 100644 index 0000000..2526774 --- /dev/null +++ b/home/oli/.config/borgmatic/config.yaml @@ -0,0 +1,50 @@ +# Remote backup +repositories: + - path: ssh://REDACTED@REDACTED.repo.borgbase.com/./repo + append_only: true + # - path: /var/lib/backup + +source_directories: + - /etc + - /home/oli + +# Excludes +exclude_if_present: + - .nobackup +exclude_patterns: + - /home/*/.rustup + - /home/*/.npm + - /home/*/.cache + - /home/*/.local/uv + - /home/*/.local/mozilla + - /home/*/.local/share/containers + - /home/*/.local/share/uv + - /home/*/.local/share/nvim + - /home/*/.local/share/strawberry + - /home/*/.local/state/nvim/*.log + - /home/*/.mozilla + - /home/*/go/pkg + - /home/*/.aws/*/cache + - /home/*/.ssh/agent + - /home/oli/Downloads + - /home/oli/aur + - /home/oli/.config/Signal + +exclude_caches: true +# one_filesystem: true + +compression: auto,zstd +encryption_passphrase: "REDACTED" +archive_name_format: "{hostname}-{now}" + +retries: 5 +retry_wait: 5 + +keep_daily: 7 +keep_weekly: 4 +keep_monthly: 12 + +# Don't read whole repo each time +skip_actions: + - check +check_last: 3