50 lines
966 B
YAML
50 lines
966 B
YAML
|
|
# 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
|