]> git.proxmox.com Git - pve-storage.git/commit - PVE/Storage.pm
Add prune_backups to storage API
authorFabian Ebner <f.ebner@proxmox.com>
Thu, 9 Jul 2020 12:45:42 +0000 (14:45 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 24 Jul 2020 13:44:53 +0000 (15:44 +0200)
commit8f26b3910d7e5149bfa495c3df9c44242af989d5
tree0e261a1c1420b600b6df62eee397395d2c9da3a9
parent3353698f4520b77b2d929eeae2b7f52dce142fc6
Add prune_backups to storage API

Implement it for generic storages supporting backups
(i.e. directory-based storages) and add a wrapper for PBS.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/Storage.pm
PVE/Storage/PBSPlugin.pm
PVE/Storage/Plugin.pm
test/prune_backups_test.pm [new file with mode: 0644]
test/run_plugin_tests.pl