Skip to content

setup-restore-agents

Enforces backup retention policies by removing old backups

This task creates backup runner machines and deploys restore agents for backup restoration operations. The backup runner machines maintain the connection between the backup server and the restore agents.

The task: 1. Gets the list of self-runner machines from the target endpoint 2. Detects if this is an HA cluster and stores HA information from ClusterState 3. Gets actual node IPs from self-runner connections 4. Creates one backup runner machine for each self-runner 5. Creates a work order on each self-runner to start a restore agent 6. Each restore agent connects back to its corresponding backup runner machine 7. Stores the UUIDs of backup runner machines as backup/backup-runner-machine-uuids on the resource broker

For single endpoints, there will be one self-runner and one backup runner machine. For HA clusters, there will be one self-runner per node and one backup runner machine per self-runner.