Function server_forge::backup::install_backup_tools

source ·
pub fn install_backup_tools() -> Result<(), Box<dyn Error>>
Expand description

Installs the necessary backup tools (restic) on the system.

This function uses the appropriate package manager for the current Linux distribution to install restic.

§Returns

Returns Ok(()) if restic is installed successfully, or an error if installation fails.