From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 1B5291FF13E for ; Fri, 23 Jan 2026 16:42:42 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 845DD11495; Fri, 23 Jan 2026 16:43:01 +0100 (CET) From: Robert Obkircher To: pbs-devel@lists.proxmox.com Date: Fri, 23 Jan 2026 16:37:13 +0100 Message-ID: <20260123154147.222215-1-r.obkircher@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1769182918888 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.048 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 Subject: [pbs-devel] [PATCH v4 proxmox-backup 00/11] fix: #3847 pipe from STDIN to proxmox-backup-client 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: , Reply-To: Proxmox Backup Server development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pbs-devel-bounces@lists.proxmox.com Sender: "pbs-devel" Add support for commands like: ssh host cmd | proxmox-backup-client backup data.img:/dev/stdin proxmox-backup-client backup a.img:<(mysqldump) b.img:<(pgdump) Changes since v3: >From feedback: - remove "fix" prefix from commits and ensure they all build - preserve optional size in BackupEnvironment instead of updating it - combine public methods of writer and remove Arc - tests: use tmpdir, better names, additional asserts New: - use u64 instead of usize for content size - centralize size computation and improve overflow checks - mmap entire file to support larger page sizes - I'm working on separate patches to fix the Readers (for #7244 - Support 16k page size) Robert Obkircher (11): datastore: support writing fidx files of unknown size datastore: remove Arc from FixedIndexWriter datastore: test FixedIndexWriter api: backup: make fixed index file size optional api: verify fixed index writer size on close fix #3847: client: support fifo pipe inputs for images client: treat minus sign as stdin datastore: combine public FixedIndexWriter methods into add_chunk. datastore: use u64 instead of usize for fidx writer content size datastore: compute fidx file size with overflow checks datastore: support writing fidx files on systems with larger page size pbs-client/src/backup_writer.rs | 38 ++- pbs-datastore/src/datastore.rs | 14 +- pbs-datastore/src/fixed_index.rs | 448 ++++++++++++++++++++++++++---- proxmox-backup-client/src/main.rs | 37 ++- src/api2/backup/environment.rs | 33 ++- src/api2/backup/mod.rs | 4 +- src/server/push.rs | 11 +- 7 files changed, 471 insertions(+), 114 deletions(-) -- 2.47.3 _______________________________________________ pbs-devel mailing list pbs-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel