[pve-devel] applied: [PATCH v4 storage 2/7] Add prune_backups to storage API

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Jul 24 19:07:38 CEST 2020


Am 7/9/20 um 2:45 PM schrieb Fabian Ebner:
> 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 at proxmox.com>
> ---
> 
> Changes from v3:
>     * prune_mark: merge loops
>     * allow filtering by type
>     * more error handling
>     * allow passing along a log function
>     * add more tests
> 
>  PVE/Storage.pm             |  91 +++++++++-
>  PVE/Storage/PBSPlugin.pm   |  68 ++++++++
>  PVE/Storage/Plugin.pm      |  65 +++++++
>  test/prune_backups_test.pm | 342 +++++++++++++++++++++++++++++++++++++
>  test/run_plugin_tests.pl   |   1 +
>  5 files changed, 565 insertions(+), 2 deletions(-)
>  create mode 100644 test/prune_backups_test.pm
> 

applied, thanks!





More information about the pve-devel mailing list