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 BC0EB84F2F for ; Thu, 16 Dec 2021 13:13:09 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id B26321E477 for ; Thu, 16 Dec 2021 13:12:39 +0100 (CET) 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 DD1B61E444 for ; Thu, 16 Dec 2021 13:12:37 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id B13DF45310 for ; Thu, 16 Dec 2021 13:12:37 +0100 (CET) From: Fabian Ebner To: pve-devel@lists.proxmox.com Date: Thu, 16 Dec 2021 13:12:22 +0100 Message-Id: <20211216121233.162288-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.095 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. [common.pm, vzdump.pm, storage.pm, pbsplugin.pm, nfsplugin.pm, glusterfsplugin.pm, plugin.pm, dirplugin.pm, cephfsplugin.pm, btrfsplugin.pm, cifsplugin.pm] URI_NOVOWEL 0.5 URI hostname has long non-vowel sequence Subject: [pve-devel] [PATCH-SERIES storage/manager/guest-common/docs] improvements for protected backups 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: Thu, 16 Dec 2021 12:13:09 -0000 The series consists of two parts: First part (up to docs 2/2) is for introducing a storage property to limit the number of protected backups and only count unprotected backups for the limit check in vzdump. Second part is a convenience feature allowing 'protected' and 'notes' to be set directly with vzdump and for manual backups in the UI. storage: Fabian Ebner (2): list volumes: also return backup type for backups plugins: allow limiting the number of protected backups per guest PVE/Storage.pm | 24 ++++++++++++++++++++++++ PVE/Storage/BTRFSPlugin.pm | 3 ++- PVE/Storage/CIFSPlugin.pm | 1 + PVE/Storage/CephFSPlugin.pm | 1 + PVE/Storage/DirPlugin.pm | 1 + PVE/Storage/GlusterfsPlugin.pm | 1 + PVE/Storage/NFSPlugin.pm | 1 + PVE/Storage/PBSPlugin.pm | 2 ++ PVE/Storage/Plugin.pm | 8 ++++++++ test/list_volumes_test.pm | 10 ++++++++++ 10 files changed, 51 insertions(+), 1 deletion(-) manager: Fabian Ebner (6): vzdump: backup file list: drop unused parameter vzdump: backup limit: only count unprotected backups ui: storage edit: retention: add max-protected-backups setting ui: storage creation: retention: dynamically adapt max-protected-backups vzdump: support setting protected status and notes ui: backup: allow setting protected and notes for manual backup PVE/VZDump.pm | 69 ++++++++++++++++++--------- www/manager6/panel/BackupJobPrune.js | 71 ++++++++++++++++++++++++---- www/manager6/storage/Base.js | 1 + www/manager6/window/Backup.js | 25 +++++++++- 4 files changed, 132 insertions(+), 34 deletions(-) guest-common: Fabian Ebner (1): vzdump: schema: add 'notes' and 'protected' properties src/PVE/VZDump/Common.pm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) docs: Fabian Ebner (2): storage: switch to prune-backups in examples vzdump/storage: mention protected backups limit and give an example pve-storage-dir.adoc | 9 +++++---- pve-storage-pbs.adoc | 2 +- vzdump.adoc | 3 +++ 3 files changed, 9 insertions(+), 5 deletions(-) -- 2.30.2