restore-from-backup¶
Enforces backup retention policies by removing old backups
This task handles the process of restoring a DRP endpoint from a previously created backup archive. For HA clusters, it coordinates the restoration across all nodes and rebuilds the cluster.
The task performs the following operations:
- Locates the specified backup archive in the archive directory
- Creates a symlink to make the backup available via the DRP fileserver
- Creates work orders on all backup runner machines to download and extract the backup
- Monitors all work orders until completion
- For HA clusters - rebuilds the cluster by self-enrolling the first node and joining others
- Cleans up the symlink after restoration