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 0A29866243 for ; Thu, 5 Nov 2020 13:21:31 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 02CC217EF1 for ; Thu, 5 Nov 2020 13:21:01 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (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 91B3E17EE7 for ; Thu, 5 Nov 2020 13:21:00 +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 5CB4445A58 for ; Thu, 5 Nov 2020 13:21:00 +0100 (CET) To: Proxmox Backup Server development discussion , =?UTF-8?Q?Fabian_Gr=c3=bcnbichler?= References: <20201105111226.4105475-1-f.gruenbichler@proxmox.com> <20201105111226.4105475-3-f.gruenbichler@proxmox.com> From: Thomas Lamprecht Message-ID: <9a59dd19-0690-5553-0772-b7a4d1877757@proxmox.com> Date: Thu, 5 Nov 2020 13:20:59 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:83.0) Gecko/20100101 Thunderbird/83.0 MIME-Version: 1.0 In-Reply-To: <20201105111226.4105475-3-f.gruenbichler@proxmox.com> Content-Type: text/plain; charset=UTF-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-SPAM-LEVEL: Spam detection results: 0 AWL -0.116 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust 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-backup-manager.rs, remote.rs, pull.rs] Subject: [pbs-devel] applied: [PATCH v2 proxmox-backup 2/5] api: refactor remote client and add remote scan 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: Thu, 05 Nov 2020 12:21:31 -0000 On 05.11.20 12:12, Fabian Gr=C3=BCnbichler wrote: > to allow on-demand scanning of remote datastores accessible for the > configured remote user. >=20 > Signed-off-by: Fabian Gr=C3=BCnbichler > --- >=20 > Notes: > v2: > - map remote API errors to 500 to prevent client confusion >=20 > src/api2/config/remote.rs | 79 ++++++++++++++++++++++++++++++-= > src/api2/pull.rs | 12 +---- > src/bin/proxmox-backup-manager.rs | 26 ++-------- > 3 files changed, 84 insertions(+), 33 deletions(-) >=20 > applied, thanks!