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 AD28F7B084 for ; Tue, 11 May 2021 13:12:24 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 9B12121406 for ; Tue, 11 May 2021 13:11:54 +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 74F3B213F6 for ; Tue, 11 May 2021 13:11:53 +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 4533D42D85 for ; Tue, 11 May 2021 13:11:53 +0200 (CEST) To: Proxmox Backup Server development discussion , Dominik Csapak References: <20210511105007.3980-1-d.csapak@proxmox.com> From: Dietmar Maurer Message-ID: <61a8a54d-1c25-9120-0975-591e066797e6@proxmox.com> Date: Tue, 11 May 2021 13:11:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <20210511105007.3980-1-d.csapak@proxmox.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-SPAM-LEVEL: Spam detection results: 0 AWL 0.221 Adjusted score from AWL reputation of From: address 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. [restore.rs, inventory.rs, proxmox-tape.rs] Subject: [pbs-devel] applied: [PATCH proxmox-backup v5 0/5] tape: single snapshot restore X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2021 11:12:24 -0000 applied On 5/11/21 12:50 PM, Dominik Csapak wrote: > should be an ok and working state, nothing > obvious is missing or not working besides > * gui for multiselection (i have an idea, will send patches later) > > changes from v4: > * change variable names from '_list' to '_map' or '_hash' if they > are not a list > * use BTreeMap for things we want to have sorted > * better logging > * better error handling > * rebase on master > (all changes are in patch 2/5) > > changes from v3: > * split the refactoring of the 'restore_worker' into its own patch > * renamed 'restore_worker' to 'restore_full_worker' and > 'restore_single_worker' to 'restore_list_worker' (hopefully those > names are clearer?) > * rebased on master > > changes from v2: > * added schema for snapshot > * integrated with the normal restore api call and command > * added completion helper for proxmox-tape > * added small api-viewer patch to improve the '' type text > * rebase on master > > changes from v1: > * use parallel handler for chunk restore > * rebase on master > * add patch to return manifest from try_restore_snapshot_archive > * using of Arc like we do now in rest of the file > > > > Dominik Csapak (5): > api2/tape/restore: refactor restore code into its own function > api2/tape/restore: add optional snapshots to 'restore' > tape/inventory: add completion helper for tape snapshots > bin/proxmox-tape: add optional snapshots to restore command > ui: tape: add single snapshot restore > > src/api2/tape/restore.rs | 682 +++++++++++++++++++++++++++++---- > src/bin/proxmox-tape.rs | 13 +- > src/tape/inventory.rs | 36 ++ > www/tape/BackupOverview.js | 41 ++ > www/tape/window/TapeRestore.js | 25 ++ > 5 files changed, 719 insertions(+), 78 deletions(-) >