From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <f.ebner@proxmox.com> 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 004789C14D for <pve-devel@lists.proxmox.com>; Mon, 23 Oct 2023 14:47:57 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id C4EC513CAD for <pve-devel@lists.proxmox.com>; Mon, 23 Oct 2023 14:47:27 +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 for <pve-devel@lists.proxmox.com>; Mon, 23 Oct 2023 14:47:26 +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 0EAC244487 for <pve-devel@lists.proxmox.com>; Mon, 23 Oct 2023 14:47:26 +0200 (CEST) Message-ID: <47924ea8-097e-4dbe-979d-021566e564f5@proxmox.com> Date: Mon, 23 Oct 2023 14:47:24 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>, Christian Ebner <c.ebner@proxmox.com> References: <20231023111835.238407-1-c.ebner@proxmox.com> From: Fiona Ebner <f.ebner@proxmox.com> In-Reply-To: <20231023111835.238407-1-c.ebner@proxmox.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.086 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy 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. [proxmox.com] Subject: Re: [pve-devel] [RFC v2 pve-container pve-manager 0/3] add partial restore X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion <pve-devel.lists.proxmox.com> List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-devel>, <mailto:pve-devel-request@lists.proxmox.com?subject=unsubscribe> List-Archive: <http://lists.proxmox.com/pipermail/pve-devel/> List-Post: <mailto:pve-devel@lists.proxmox.com> List-Help: <mailto:pve-devel-request@lists.proxmox.com?subject=help> List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel>, <mailto:pve-devel-request@lists.proxmox.com?subject=subscribe> X-List-Received-Date: Mon, 23 Oct 2023 12:47:58 -0000 Am 23.10.23 um 13:18 schrieb Christian Ebner: > This patch series adds functionality to partially restore containers > from backup, by allowing the user to selectively include/exclude > mountpoints for restore. Mountpoints not included in the backup will not > be deleted and recreated but rather attached to the container as unused > disk after the restore. The same is true for mountpoints selected by the > user to be excluded during restore. > FYI, there is an old series [0] adding a similar feature for VMs. It would be nice if we could have the API/UI be not too different between them. Of course, it's not set in stone how it's done there (since it didn't get applied ;)), but it would be great if we could come up with a solution that works for both cases. If you really want, you could even pick up those patches in your next version of the series (just tell me if you need a rebased version). Didn't have time to take a close look yet, just noting that 'exclude-mps' is not specific enough as a parameter name for the 'create' API call. The name really should include the word 'restore' or similar, and you can add a requires => 'restore' to the schema definition of the parameter. [0]: https://lists.proxmox.com/pipermail/pve-devel/2022-April/052720.html