From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 87F051FF135 for ; Thu, 02 Jul 2026 17:00:43 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 56F7E214A4; Thu, 02 Jul 2026 17:00:43 +0200 (CEST) From: Robert Obkircher To: pbs-devel@lists.proxmox.com Subject: [PATCH proxmox{,-backup} v2 00/13] add GarbageCollection maintenance mode Date: Thu, 2 Jul 2026 16:58:57 +0200 Message-ID: <20260702145916.360488-1-r.obkircher@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1783004404310 X-SPAM-LEVEL: Spam detection results: 0 DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: YJNMPLTJ3HVLBC2MPL2VAQTNZJCB4W6Y X-Message-ID-Hash: YJNMPLTJ3HVLBC2MPL2VAQTNZJCB4W6Y X-MailFrom: r.obkircher@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox Backup Server development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add a maintenance mode that allows reclaiming storage space without the risk of running out of space because of new backups. Changes since [v1]: * fix proxmox-biome formatting in OptionView.js * task tracking: split starttime change into separate commit * mention set_maintenance_mode in commit and improve comment * avoid decoding maintenance mode message when it is unused * documentation [v1] https://lore.proxmox.com/pbs-devel/20260602130001.217482-1-r.obkircher@proxmox.com/ *** MURPP HERE *** proxmox: Robert Obkircher (5): pbs-api-types: propagate maintenance mode parse errors pbs-api-types: use match statement for maintenance mode check pbs-api-types: deny non-lookup operations for unknown modes pbs-api-types: add WriteNonExpanding datastore operation pbs-api-types: add GarbageCollection maintenance mode pbs-api-types/src/datastore.rs | 23 ++++++++------ pbs-api-types/src/maintenance.rs | 52 +++++++++++++++++--------------- 2 files changed, 42 insertions(+), 33 deletions(-) proxmox-backup: Robert Obkircher (8): datastore: propagate maintenance mode parse errors task tracking: only read starttime when needed task tracking: use parameter for initial count and refactor updates www: access active operation fields by name instead of index task tracking: count WriteNonExpanding datastore operations datastore: open datastores with WriteNonExpanding instead of Write fix #5797: www: display new GarbageCollection maintenance mode docs: document garbage-collection maintenance mode docs/maintenance.rst | 13 +++++- pbs-datastore/src/datastore.rs | 17 +++++--- pbs-datastore/src/task_tracking.rs | 64 +++++++++++++++++++---------- src/api2/admin/datastore.rs | 15 +++---- src/api2/admin/namespace.rs | 2 +- src/bin/proxmox-backup-proxy.rs | 2 +- src/server/metric_collection/mod.rs | 7 ++-- src/server/prune_job.rs | 2 +- www/Utils.js | 4 ++ www/datastore/OptionView.js | 13 +++++- www/window/MaintenanceOptions.js | 1 + 11 files changed, 95 insertions(+), 45 deletions(-) Summary over all repositories: 13 files changed, 137 insertions(+), 78 deletions(-) -- Generated by murpp 0.12.0