forked from jakub/ansible
52bb82f900
Imports backup.yml from setup_linux.yml so the backup play is reachable from the umbrella playbook via --tags backup. Also adds a backup_hosts entry for portainer1-jim.im.lab (5GB, /data/compose). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
26 lines
917 B
YAML
26 lines
917 B
YAML
---
|
|
# Borg Controller — auto-creates a repo per host on a BorgWarehouse-backed server.
|
|
# borgcontroller_username / borgcontroller_password come from Semaphore secrets.
|
|
borgcontroller_url: https://borgcontroller.internet-master.cz
|
|
|
|
# Per-host borgmatic config. Hosts not listed here are skipped by the `backup` role.
|
|
# `storage_size_gb` is stripped before rendering and used to size the controller-side
|
|
# repo. `repositories` is auto-filled from the controller — don't set it manually.
|
|
# Other keys are passed through verbatim to borgmatic, see
|
|
# https://torsion.org/borgmatic/docs/reference/configuration/
|
|
backup_hosts:
|
|
testipaclient:
|
|
storage_size_gb: 10
|
|
source_directories:
|
|
- /home/jakub
|
|
keep_daily: 7
|
|
keep_weekly: 4
|
|
keep_monthly: 6
|
|
portainer1-jim.im.lab:
|
|
storage_size_gb: 5
|
|
source_directories:
|
|
- /data/compose
|
|
keep_daily: 7
|
|
keep_weekly: 4
|
|
keep_monthly: 6
|