/
/
Ansible role that can run restic backups and push it to a remote storage server.
Restic-based backup and restore for Docker Compose services across all hosts.
| Variable | Default | Description |
|---|---|---|
backup_mode |
backup |
Operation mode: backup or restore |
backup_services |
[] (all) |
Comma-separated service names to target; empty = all discovered |
backup_hosts |
[] (all) |
Limit to specific hosts; empty = all docker_servers |
restic_repo |
rest:http://storage.home:8000/backup |
Restic repository URL |
restic_password |
(vault) | Repository encryption password |
restic_retention_args |
--keep-last 10 |
Retention policy passed to restic forget |
backup_health_check_timeout |
300 |
Seconds to wait for containers to become healthy after restart |
backup_auto_install_restic is true)/docker/ on target hostsrestic backup on the service directory (tagged by service name)