[pbs-devel] [PATCH proxmox-backup 0/2] add default prune job and gc-schedule
Christian Ebner
c.ebner at proxmox.com
Wed Nov 29 12:36:35 CET 2023
These patches add a default prune job configuration and a default
garbage collection schedule to datastores created as part of disk/zpool
creation transactions.
This is to be consistent with the conventional creation of a datastore,
where these also are created so the user might not forget about it.
E.g.
`proxmox-backup-manager disk fs create <storage-name> --disk <block-device>
--add-datastore true` creates the datastore with daily gc-schedule and a
daily prune job with default keep options.
Currently, patch 0001 depends on this patch being applied:
https://lists.proxmox.com/pipermail/pbs-devel/2023-November/007336.html
I can send a v2 without this interdependecy if desired and/or required.
Christian Ebner (2):
api: create default prune job on datastore creation
api: create default garbage collection schedule
src/api2/node/disks/directory.rs | 30 ++++++++++++++++++++++++++----
src/api2/node/disks/zfs.rs | 32 +++++++++++++++++++++++++++-----
2 files changed, 53 insertions(+), 9 deletions(-)
--
2.39.2
More information about the pbs-devel
mailing list