[pve-devel] [PATCH v4 storage 3/7] Add API and pvesm call for prune_backups

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Jul 24 19:08:02 CEST 2020


Am 7/9/20 um 2:45 PM schrieb Fabian Ebner:
> For the pvesm call use a wrapper and a --dry-run option to redirect
> to the correct API call.
> 
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> ---
> 
> Changes from v3:
>     * allow filtering by type
>     * pvesm: redirect to correct API call according to --dry-run
> 
>  PVE/API2/Storage/Makefile        |   2 +-
>  PVE/API2/Storage/PruneBackups.pm | 164 +++++++++++++++++++++++++++++++
>  PVE/API2/Storage/Status.pm       |   7 ++
>  PVE/CLI/pvesm.pm                 | 126 ++++++++++++++++++++++++
>  4 files changed, 298 insertions(+), 1 deletion(-)
>  create mode 100644 PVE/API2/Storage/PruneBackups.pm
> 

applied, thanks!





More information about the pve-devel mailing list