Re: [pve-devel] [PATCH storage 6/6] Add API and pvesm calls for prune_backups

2020-07-06 Thread Fabian Grünbichler
s/VM/guest in most descriptions - this is not in qemu-server ;) On June 4, 2020 11:08 am, Fabian Ebner wrote: > Signed-off-by: Fabian Ebner > --- > > Not sure if this is the best place for the new API endpoints. > > I decided to opt for two distinct calls rather than just using a > --dry-run op

[pve-devel] [PATCH storage 6/6] Add API and pvesm calls for prune_backups

2020-06-04 Thread Fabian Ebner
Signed-off-by: Fabian Ebner --- Not sure if this is the best place for the new API endpoints. I decided to opt for two distinct calls rather than just using a --dry-run option and use a worker for actually pruning, because removing many backups over the network might take a while. PVE/API2/Sto