From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 3D6AC6AB7F for ; Fri, 17 Sep 2021 15:02:34 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 81D4D8708 for ; Fri, 17 Sep 2021 15:02:33 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id D74418654 for ; Fri, 17 Sep 2021 15:02:31 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id AFFBD4427F for ; Fri, 17 Sep 2021 15:02:31 +0200 (CEST) From: Fabian Ebner To: pve-devel@lists.proxmox.com Date: Fri, 17 Sep 2021 15:02:20 +0200 Message-Id: <20210917130227.248852-1-f.ebner@proxmox.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.074 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [dirplugin.pm, prunebackups.pm, nfsplugin.pm, pbsplugin.pm, proxmox.com, cephfsplugin.pm, cifsplugin.pm, btrfsplugin.pm, content.pm, plugin.pm, storage.pm, vzdump.pm] URI_NOVOWEL 0.5 URI hostname has long non-vowel sequence Subject: [pve-devel] [RFC storage/manager] fix #3307: allow backups to be marked as protected X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Sep 2021 13:02:34 -0000 Protected bacukps cannot be removed accidentally and will be ignored for pruning. A .protected file serves as a protection marker for file-based storages. Still missing: GUI integration The pve-manager patch depends on the pve-storage patches. To work, the PBS integration needs Dominik's patches for PBS: https://lists.proxmox.com/pipermail/pbs-devel/2021-September/003926.html pve-storage: Fabian Ebner (6): dir plugin: update notes: don't attempt to remove non-existent notes add generalized functions to manage volume attributes prune mark: preserve additional information for the keep-all case fix #3307: make it possible to set protection for backups prune: mark renamed and protected backups differently pbs: integrate support for protected PVE/API2/Storage/Content.pm | 36 ++++++++++++---- PVE/API2/Storage/PruneBackups.pm | 5 ++- PVE/Storage.pm | 23 +++++++--- PVE/Storage/BTRFSPlugin.pm | 4 +- PVE/Storage/CIFSPlugin.pm | 10 +++-- PVE/Storage/CephFSPlugin.pm | 10 +++-- PVE/Storage/DirPlugin.pm | 61 ++++++++++++++++++++------ PVE/Storage/NFSPlugin.pm | 10 +++-- PVE/Storage/PBSPlugin.pm | 73 +++++++++++++++++++++++++++----- PVE/Storage/Plugin.pm | 45 +++++++++++++++++++- test/prune_backups_test.pm | 17 +++++++- 11 files changed, 236 insertions(+), 58 deletions(-) pve-manager: Fabian Ebner (1): vzdump: skip protected backups for dumpdir pruning PVE/VZDump.pm | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.30.2