]> git.proxmox.com Git - pve-manager.git/commit
vzdump: include current backup when pruning dumpdir
authorFabian Ebner <f.ebner@proxmox.com>
Tue, 7 Sep 2021 11:18:35 +0000 (13:18 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 8 Sep 2021 10:58:53 +0000 (12:58 +0200)
commit77c7945123724564ea909439ea51b537a5d0b6c2
tree07abe3cf5fdf4927498eaa70187a88f643b0c0c8
parent0eb284edc63ff2cc5e87047c9cff46ac36a1bb75
vzdump: include current backup when pruning dumpdir

Not doing so leads to an off-by-one error, and pruning in a dumpdir
really should behave the same way as pruning in a storage.

Reported in the community forum:
https://forum.proxmox.com/threads/problem-mit-prune-backups.95737/

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/VZDump.pm