1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/borg_client/defaults/main.yml
Evangelos Foutras 743dd1faeb
borg_client: refactor database related vars/tasks
Move backup-related variable defaults from the database roles into the
borg_client role. Also check group membership to guard installation of
database backup helper scripts.
2024-03-30 19:08:37 +02:00

14 lines
413 B
YAML

backup_hosts:
- host: "ssh://u236610.your-storagebox.de:23"
dir: "~/repo"
suffix: ""
borg_cmd: "/usr/bin/borg"
- host: "ssh://zh1905@zh1905.rsync.net:22"
dir: "~/backup/{{ inventory_hostname }}"
suffix: "-offsite"
borg_cmd: "/usr/bin/borg --remote-path=borg1"
backup_postgres_dir: /root/backup-postgres
backup_mysql_dir: /root/backup-mysql
backup_mysql_defaults: /root/.backup-my.cnf