pve-manager/debian
Fabian Ebner 7bffbd2241 vzdump: backup limit: only count unprotected backups
since they are the ones relevant for pruning and protected backups
have their own separate limit.

Since get_backup_file_list is only used in places where the
unprotected backups are needed, adapt the helper accordingly.

If there is a storage, use PVE::Storage::volume_list to count the
unprotected backups. This avoids a direct invocation of the
proxmox-backup-client for PBS and the limit check can also work for
external storage plugins which might not be dir-based or name the
backups differently.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2022-04-06 13:40:05 +02:00
..
changelog bump version to 7.1-12 2022-03-29 17:32:29 +02:00
compat d/control: update dh compat level to 12 2021-05-20 09:49:33 +02:00
control vzdump: backup limit: only count unprotected backups 2022-04-06 13:40:05 +02:00
copyright d/copyright: update years 2021-05-20 09:49:33 +02:00
docs change from dpkg-deb to dpkg-buildpackage 2017-06-09 14:00:32 +02:00
lintian-overrides d/lintian: update overrides 2021-10-04 12:22:02 +02:00
postinst replace systemd timer with pvescheduler daemon 2021-11-10 16:11:00 +01:00
postrm b/postrm: let debhelper generate systemd stuff 2018-03-12 15:14:16 +01:00
prerm b/prerm: cleanup cruft from prerm helper 2018-03-12 15:14:16 +01:00
rules d/rules: do not compress apl info trust db 2021-07-06 12:29:23 +02:00
triggers use -noawait triggers 2015-06-01 10:00:11 +02:00