78 lines
1.8 KiB
YAML
78 lines
1.8 KiB
YAML
source_directories:
|
|
- /etc
|
|
- /var/lib/pretix
|
|
- /var/lib/pretalx
|
|
|
|
repositories:
|
|
- path: ssh://hosting202341@ae89d.netcup.net/backup/vm-chaosevent-01
|
|
label: netcup
|
|
- path: ssh://ctbk-backup.ext.selfnet.de/media/backupstorage/vm-chaosevent-01
|
|
label: selfnet
|
|
|
|
working_directory: /etc/events
|
|
|
|
# exclude_patterns:
|
|
# - '*.pyc'
|
|
# - /home/*/.cache
|
|
# - '*/.vim*.tmp'
|
|
# - /etc/ssl
|
|
# - /home/user/path with spaces
|
|
# exclude_from:
|
|
# - /etc/borgmatic/excludes
|
|
|
|
exclude_caches: true
|
|
exclude_nodump: true
|
|
|
|
encryption_passcommand: cat /etc/borgmatic/key
|
|
|
|
compression: zstd,10
|
|
upload_rate_limit: 10000
|
|
retries: 3
|
|
retry_wait: 10
|
|
|
|
ssh_command: ssh -i /etc/events/.id_ed25519
|
|
|
|
borg_base_directory: /var/lib/borg
|
|
borg_cache_directory: /var/cache/borg
|
|
|
|
archive_name_format: 'events-{now:%Y-%m-%dT%H:%M:%S}'
|
|
keep_within: 1d
|
|
keep_daily: 7
|
|
keep_weekly: 4
|
|
keep_monthly: 12
|
|
# keep_yearly: 1
|
|
|
|
checks:
|
|
- name: repository
|
|
frequency: 1 week
|
|
- name: extract
|
|
frequency: 3 weeks
|
|
only_run_on:
|
|
- Monday
|
|
|
|
check_last: 3
|
|
|
|
postgresql_databases:
|
|
- name: all
|
|
username: postgres
|
|
format: plain
|
|
compression: none
|
|
|
|
uptime_kuma:
|
|
push_url: https://status.ctbk.de/api/push/bjjOh4jeSZO5pNg2L3WkudJxR2RK2ccs
|
|
|
|
# loki:
|
|
# Grafana loki log URL to notify when a backup begins,
|
|
# ends, or fails.
|
|
# url: http://localhost:3100/loki/api/v1/push
|
|
|
|
# Allows setting custom labels for the logging stream. At
|
|
# least one label is required. "__hostname" gets replaced by
|
|
# the machine hostname automatically. "__config" gets replaced
|
|
# by the name of the configuration file. "__config_path" gets
|
|
# replaced by the full path of the configuration file.
|
|
# labels:
|
|
# app: borgmatic
|
|
# config: __config
|
|
# hostname: __hostname
|
|
|