[pbs-devel] applied: [PATCH proxmox-backup] prune sim: correctly keep track of already included backups

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Dec 15 14:04:20 CET 2020


On 14.12.20 16:04, Fabian Ebner wrote:
> This needs to happen in a separate loop, because some time intervals are not
> subsets of others, i.e. weeks and months. Previously, with a daily backup
> schedule, having:
> * a backup on Sun, 06 Dec 2020 kept by keep-daily
> * a backup on Sun, 29 Nov 2020 kept by keep-weekly
> would lead to the backup on Mon, 30 Nov 2020 to be selected for keep-monthly,
> because the iteration did not yet reach the backup on Sun, 29 Nov 2020 that
> would mark November as being covered.
> 
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> ---
>  docs/prune-simulator/prune-simulator.js | 17 +++++++++--------
>  1 file changed, 9 insertions(+), 8 deletions(-)
> 
>

applied, thanks!




More information about the pbs-devel mailing list