install_backup_tools

Function 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.