enzingerm / snapborg

Synchronize snapper snapshots to a borg repository
GNU General Public License v3.0
31 stars 5 forks source link

Retention bugfix [5/6] #11

Closed jrabinow closed 2 years ago

jrabinow commented 2 years ago

When pruning, borg keeps the last snapshot of an interval. By selecting the last snapshot instead of the first for each retention interval, we ensure we aren't backing up snapshots just to prune them right away.

jrabinow commented 2 years ago

Whoops, good catch with the variable rename. Fixed.