restore-from-backup¶
Task for restoring a DRP endpoint from a backup archive
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
Objects that Reference restore-from-backup¶
- blueprints restore-from-backup in Backup and Recovery as part of Tasks (declared)
Objects used by restore-from-backup¶
- templates prelude.tmpl
- params backup/backup-server-state
- params backup/backup-file-to-restore
- params backup/archive-location
- params backup/drp-fileserver-symlink-path
- params backup/endpoint-username
- params backup/endpoint-password
- params backup/minimum-available-space-gb
- params backup/default-drp-user
- params backup/default-drp-password
- params backup/backup-runner-machine-uuids
- params backup/endpoint-id
- params backup/endpoint-url
- params backup/endpoint-token
- params backup/is-ha-cluster