Skip to main content

execute_backup_run

Function execute_backup_run 

Source
pub fn execute_backup_run(plan: &BackupRunPlan) -> Result<()>
Expand description

Run a planned backup end-to-end: pre hook, restic, post hook. The post hook runs even when restic fails (it usually cleans up a dump file), but its own failure never masks restic’s error.