Skip to content

download-and-extract-backup

Creates a backup of the configured DRP endpoint

This blueprint manages the process of downloading a backup archive from a specified URL and restoring it to the current DRP endpoint, effectively replacing the existing DRP data.

The process involves the following steps:

  1. Download the specified backup archive file to a temporary location
  2. Stop the dr-provision service
  3. Clean the DR-Provision data directory (defined by RS_BASE_ROOT)
  4. Extract the backup archive to the cleaned data directory
  5. Start the dr-provision service
  6. Verify the service is running properly

Prerequisites

  • The target system must have sufficient disk space (~20GB) for the temporary archive
  • The specified backup archive must be accessible via URL
  • The target system must be running a compatible version of DR-Provision
  • The process requires root privileges to manage the dr-provision service

Parameters

This blueprint requires the following parameters:

  • backup/archive-download-url: URL where the backup archive can be downloaded from
  • backup/archive-file-name: Filename to save the downloaded archive as

Notes

  • The restoration process will completely replace all existing DRP data
  • The target system should be running the same or newer version of DRP compared to the backup
  • Any custom configuration outside the standard DRP data directory will need to be reconfigured
  • The process will temporarily stop the dr-provision service