Module backup

Module backup 

Source
Expand description

§Backup Module

This module provides functionality for setting up and configuring an automated backup system for a Linux server. It uses restic as the backup tool, which provides efficient, encrypted, and incremental backups.

The module includes functions for installing backup tools, configuring backup schedules, and setting up backup locations based on the server’s role.

Functions§

configure_backup_schedule
Configures the backup schedule based on the provided configuration.
install_backup_tools
Installs the necessary backup tools (restic) on the system.
setup_backup_locations
Sets up backup locations based on the server’s role.
setup_backup_system
Sets up the backup system based on the provided configuration.