backups
Type: generic-role
This role initializes a basic backup strategy for all the VMs of the different NFDI4Earth compontents
Basic setup:
-
N distributed backup agents dump their backups daily in push them to 1 central backup host
-
N distributed backup adopter pull the backups from the central backup host and apply them
Please have a look at the visualisation for more details!

Table of content
- Requirements
- Default Variables
- adopter
- adopter.dumps
- adopter.path
- adopter.username
- agent
- agent.cron
- agent.cron.hour.backup
- agent.cron.hour.sync
- agent.dumps
- agent.path
- agent.username
- host
- host.path
- host.username
- Discovered Tags
- Open Tasks
- Dependencies
- License
- Author
Requirements
- Minimum Ansible version:
['2.13']
Default Variables
adopter
Collection of vars to backup-adopter
adopter.dumps
adopter.path
adopter.username
agent
Collection of vars to backup-agent
agent.cron
agent.cron.hour.backup
agent.cron.hour.sync
agent.dumps
agent.path
agent.username
host
Collection of vars to backup-host
host.path
host.username
Discovered Tags
Initialize backup structure at agents\ ForEach BackupAdopter: - add public ssh-key to backup adopter machines - create backups directory - add backup script - define daily crontab entry
Initialize backup structure at host (supportapps)\ - create user 'backup' - fetch public ssh-key ForEach BackupAgent: - create backups directory - add sync script - define daily crontab entry
Open Tasks
Dependencies
- host_groups:
-
- backup_host
-
- backup_agent
License
Apache 2.0