]> git.proxmox.com Git - pve-manager.git/commit - PVE/VZDump.pm
vzdump: skip protected backups for dumpdir pruning
authorFabian Ebner <f.ebner@proxmox.com>
Thu, 30 Sep 2021 11:42:11 +0000 (13:42 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 9 Nov 2021 10:33:16 +0000 (11:33 +0100)
commit2fc939a94d07d0b82b62e870023da6830fce6e9e
tree18042164d7fa641b265c9fe97979cbbd10ddc764
parent4af70154fd274a1f77c38c604eafd422452585e8
vzdump: skip protected backups for dumpdir pruning

Keeps the behavior consistent with what happens for storages. It also
is required to not get into conflict with the check in archive_remove,
i.e. pruning here marks a backup as 'remove' and then archive_remove
complains that it's protected.

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