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 A03649877D for ; Tue, 25 Apr 2023 10:06:52 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 80EE9391F7 for ; Tue, 25 Apr 2023 10:06:52 +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 ; Tue, 25 Apr 2023 10:06:51 +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 B4F9F455E0 for ; Tue, 25 Apr 2023 10:06:50 +0200 (CEST) Date: Tue, 25 Apr 2023 10:06:44 +0200 From: Fabian =?iso-8859-1?q?Gr=FCnbichler?= To: Proxmox Backup Server development discussion References: <20230418145947.3003473-1-s.hanreich@proxmox.com> In-Reply-To: <20230418145947.3003473-1-s.hanreich@proxmox.com> MIME-Version: 1.0 User-Agent: astroid/0.16.0 (https://github.com/astroidmail/astroid) Message-Id: <1682409983.e75c5v3xlp.astroid@yuna.none> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SPAM-LEVEL: Spam detection results: 0 AWL 0.076 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 T_SCC_BODY_TEXT_LINE -0.01 - URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [pull.rs, proxmox.com, jobs.rs, sync.rs, proxmox-backup-manager.rs] Subject: [pbs-devel] applied-series: [PATCH v4 proxmox-backup 0/3] add transfer-last parameter to pull/sync job 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, 25 Apr 2023 08:06:52 -0000 with the small Display follow-up we discussed off-list. thanks! On April 18, 2023 4:59 pm, Stefan Hanreich wrote: > This patch series adds the possibility of specifying the transfer-last > parameter for sync jobs / pull. This limits the amount of backups transfe= rred. > If specified, only the newest N backups will get transferred, instead of = all new > backups. >=20 > This can be particularly useful in situations where the target PBS has le= ss disk > space than the source PBS. It can also be used to limit the amount of ban= dwidth > used by the sync-job. >=20 > Part of a series of changes that attempt to fix #3701 >=20 > Changes from v3 -> v4: > * Using two SkipInfos instead of one > * Improve transfer-last parameter description > * Further improved logging output > * Move transfer-last input to advanced options >=20 > Changes from v2 -> v3: > * Add reason to SkipInfo > * improved cutoff calculation > * always re-sync latest snapshot, regardless of transfer-last > * improved logging output >=20 > Changes from v1 -> v2: > * made condition for deciding which backups to skip clearer > * changed type of transfer-last to usize instead of u64 > * split api/ui changes into two commits >=20 >=20 >=20 > proxmox-backup: >=20 > Stefan Hanreich (3): > partial fix #3701: sync job: pull: add transfer-last parameter > sync job: pull: improve log output > ui: sync job: add transfer-last parameter >=20 > pbs-api-types/src/jobs.rs | 11 +++++ > src/api2/config/sync.rs | 9 ++++ > src/api2/pull.rs | 10 +++- > src/bin/proxmox-backup-manager.rs | 11 ++++- > src/server/pull.rs | 76 ++++++++++++++++++++++++------- > www/config/SyncView.js | 9 +++- > www/window/SyncJobEdit.js | 13 ++++++ > 7 files changed, 119 insertions(+), 20 deletions(-) >=20 >=20 > Summary over all repositories: > 7 files changed, 119 insertions(+), 20 deletions(-) >=20 > Generated by murpp v0.2.0 > --=20 > 2.30.2 >=20 >=20 > _______________________________________________ > pbs-devel mailing list > pbs-devel@lists.proxmox.com > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel >=20 >=20 >=20