From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 7B8B01FF17C for ; Wed, 6 Aug 2025 18:00:09 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id A7DA13F033; Wed, 6 Aug 2025 18:01:41 +0200 (CEST) From: Christian Ebner To: pbs-devel@lists.proxmox.com Date: Wed, 6 Aug 2025 18:01:29 +0200 Message-ID: <20250806160129.649607-1-c.ebner@proxmox.com> X-Mailer: git-send-email 2.47.2 MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1754496076603 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.044 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 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. 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 proxmox-backup] docs: s3: add Backblaze B2 configuration example 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" Backblaze B2 currently requires to set provider specific quirks and their access key naming might be confusing as there is also the key name. While it should be avoided to create a different example for each of the existing providers, adding a dedicated example for B2 configuration is justified. This indirectly also documents the provider quirks configuration parameter. Signed-off-by: Christian Ebner --- docs/storage.rst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docs/storage.rst b/docs/storage.rst index 54540219b..627b26557 100644 --- a/docs/storage.rst +++ b/docs/storage.rst @@ -390,6 +390,28 @@ otherwise request authentication might fail: backend bucket=pbs-r2-bucket,client=cloudflare-r2,type=s3 path /mnt/datastore/r2-s3-store-local-cache +Backblaze B2 currently does not accept the ``If-None-Match`` http header, set by the PBS s3 client +in some cases for put object API calls. It is therefore required to explicitley disable this by +setting the ``skip-if-none-match-header`` as ``provider-quirks``. The access key is stated as +``keyID`` in the Backblaze web interface. An example configuration is: + +.. code-block:: console + + # cat /etc/proxmox-backup/s3.cfg + + s3-endpoint: backblaze-b2 + access-key XXXXXXXXXXXXXXXXXXXXXXXXX + endpoint {{bucket}}.s3.{{region}}.backblazeb2.com + provider-quirks skip-if-none-match-header + region eu-central-003 + secret-key XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + + # cat /etc/proxmox-backup/datastore.cfg + + datastore: b2-s3-store + backend bucket=pbs-b2-bucket,client=backblaze-b2,type=s3 + path /mnt/datastore/b2-s3-store-local-cache + Managing Datastores ^^^^^^^^^^^^^^^^^^^ -- 2.47.2 _______________________________________________ pbs-devel mailing list pbs-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel