Files
ansible/group_vars/all/backup.yml
T
jakub 4275f2e8fe Enable borgmatic timer and generate root SSH key for borg server
The role now ensures the systemd timer is running (so backups actually
fire on the schedule borgmatic ships by default) and generates an
ed25519 key for root that can be authorized on the remote borg server.

Also adds a testipaclient entry to backup_hosts.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 19:49:58 +02:00

16 lines
493 B
YAML

---
# Per-host borgmatic config. Keys must match inventory_hostname.
# Hosts not listed here are skipped by the `backup` role.
# The value under each host is rendered verbatim as the borgmatic
# config file (see https://torsion.org/borgmatic/docs/reference/configuration/).
backup_hosts:
testipaclient:
source_directories:
- /home/jakub
repositories:
- path: /var/backups/borg/jakub-home
label: jakub-home
keep_daily: 7
keep_weekly: 4
keep_monthly: 6