Skip to main content

enforce_retention

Function enforce_retention 

Source
pub fn enforce_retention(backup_dir: &Path, keep: usize) -> Result<()>
Expand description

Enforce backup retention by removing the oldest backups beyond the keep count.