From f9ff2301e88faba989de7d267df90d126c838b72 Mon Sep 17 00:00:00 2001 From: Srigovind Nayak <5201843+konidev20@users.noreply.github.com> Date: Sun, 5 Oct 2025 21:48:02 +0530 Subject: [PATCH] changelog: add a changelog entry for azure PutBlob API changes --- changelog/unreleased/issue-5531 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 changelog/unreleased/issue-5531 diff --git a/changelog/unreleased/issue-5531 b/changelog/unreleased/issue-5531 new file mode 100644 index 000000000..3cad4e624 --- /dev/null +++ b/changelog/unreleased/issue-5531 @@ -0,0 +1,15 @@ +Enhancement: Reduce Azure storage costs by optimizing upload method + +Restic previously used Azure's PutBlock and PutBlockList APIs for all file +uploads, which resulted in two transactions per file and doubled the storage +operation costs. For backups with many pack files, this could lead to +significant Azure storage transaction fees. + +Restic now uses the more efficient PutBlob API for files up to 256 MiB, +requiring only a single transaction per file. This reduces Azure storage +operation costs by approximately 50% for typical backup workloads. Files +larger than 256 MiB continue to use the block-based upload method as required +by Azure's API limits. + +https://github.com/restic/restic/issues/5531 +https://github.com/restic/restic/pull/5544