Skip to main content

Module backup_templates

Module backup_templates 

Source
Expand description

Backup template rendering step

This module provides the RenderBackupTemplatesStep which handles rendering of backup configuration templates to the build directory. This step prepares backup configuration files for deployment to the remote host.

§Key Features

  • Template rendering for backup configurations (backup.conf)
  • Static file copying for backup path lists (backup-paths.txt)
  • Integration with the BackupProjectGenerator for file generation
  • Build directory preparation for deployment operations
  • Comprehensive error handling for template processing

§Usage Context

This step is typically executed during the release workflow, after infrastructure provisioning and software installation, to prepare the backup configuration files for deployment.

§Architecture

This step follows the three-level architecture:

  • Command (Level 1): ReleaseCommandHandler orchestrates the release workflow
  • Step (Level 2): This RenderBackupTemplatesStep handles template rendering
  • The templates are rendered locally, no remote action is needed

Structs§

RenderBackupTemplatesStep
Step that renders Backup templates to the build directory