[pbs-devel] [PATCH v2 proxmox-backup 0/3] datastore: Create a prune job upon datastore creation
Stefan Lendl
s.lendl at proxmox.com
Tue Nov 21 17:21:08 CET 2023
prune-schedule was availible as an option in API and GUI but had no effect
because datastore prunes are handles by prune-jobs.
This creates a default prune job if prune-schedule is set when creating the
datastore.
Differences to v1:
split into individual patches to separatly move logic to do_create_prune_job
Stefan Lendl (3):
prune job: prune job creation in separate function
pass worker context to do_create_prune_job
fix #4374: create a prune job upon datastore creation
src/api2/config/datastore.rs | 49 +++++++++++++++++++++++++++++-------
src/api2/config/prune.rs | 43 ++++++++++++++++++++-----------
2 files changed, 68 insertions(+), 24 deletions(-)
--
2.42.0
More information about the pbs-devel
mailing list