public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup 0/2] add default prune job and gc-schedule
@ 2023-11-29 11:36 Christian Ebner
  2023-11-29 11:36 ` [pbs-devel] [PATCH proxmox-backup 1/2] api: create default prune job on datastore creation Christian Ebner
  2023-11-29 11:36 ` [pbs-devel] [PATCH proxmox-backup 2/2] api: create default garbage collection schedule Christian Ebner
  0 siblings, 2 replies; 7+ messages in thread
From: Christian Ebner @ 2023-11-29 11:36 UTC (permalink / raw)
  To: pbs-devel

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





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-11-29 13:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-29 11:36 [pbs-devel] [PATCH proxmox-backup 0/2] add default prune job and gc-schedule Christian Ebner
2023-11-29 11:36 ` [pbs-devel] [PATCH proxmox-backup 1/2] api: create default prune job on datastore creation Christian Ebner
2023-11-29 13:27   ` Fabian Grünbichler
2023-11-29 13:31     ` Thomas Lamprecht
2023-11-29 13:54     ` Christian Ebner
2023-11-29 11:36 ` [pbs-devel] [PATCH proxmox-backup 2/2] api: create default garbage collection schedule Christian Ebner
2023-11-29 13:27   ` Fabian Grünbichler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal