Skip to content

backup/restore-agent-script-generator

Location where backup archives (tarballs) will be stored

This parameter contains a drpcli command that generates a restore agent installation script specifically for the downstream endpoint node corresponding to this backup runner.

This parameter is set when automated installation cannot create a restore agent due to lack of root access. The command must be run to generate a script that will then need to be executed on the actual endpoint node (not on the backup server).

Important: The generated script must be executed on the specific downstream node identified by the backup/node-ip and backup/node-id parameters stored on this same backup runner machine. Check these parameters to determine which downstream node needs this script.

Workflow: 1. This parameter is stored on the backup runner 2. Check backup/node-ip and backup/node-id parameters on this backup runner to identify the target downstream node 3. Copy the command from this parameter
4. Run the command on a machine with credentials of the backup manager. The UUID in this command is that of the backup runner which is on the backup manager. 5. The command outputs a bash script customized for this specific node 6. Transfer the generated script to the corresponding downstream endpoint node (identified by backup/node-ip) 7. Execute the script on the downstream node to install the restore agent

Example: - backup/node-ip: "192.168.1.100" - backup/node-id: "drp-node-1" - Command: drpcli -E https://backup.manager.com:8092 -T backup-manager-token templates render restore-agent.tmpl backup-runner-uuid-456

Run command to generate script → Transfer script to node 192.168.1.100 (drp-node-1) → Execute on that node

The restore agent will then connect back to this backup runner for backup operations.

This parameter is automatically set by the setup-restore-agents task when root access is not available and should not be modified manually.