Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

borg2: warning: cloud pricing can be expensive for single-object storage #8431

Open
ThomasWaldmann opened this issue Sep 27, 2024 · 1 comment

Comments

@ThomasWaldmann
Copy link
Member

ThomasWaldmann commented Sep 27, 2024

Had a look there: https://www.backblaze.com/cloud-storage/transaction-pricing

If each small file results in 1 chunk and each chunk is stored into a separate cloud object, that would mean 1M small (new) files cost $4 to back up using b2.

Also bad: they are also accounting per "ls" (listing 1 directory) and as current borg2 beta11 uses a nested directory structure of 1+256+65536 directories, just doing one full list to get all object IDs are already more than 64k "ls" calls (borg check and borg compact do that).

So, backblaze b2 is accounting "per file / per key / per object" and "per ls" - and not just per MB/GB/TB storage or traffic.

Is that common, do other providers do that also?

@ThomasWaldmann ThomasWaldmann added this to the 2.0.0rc1 milestone Sep 27, 2024
@ThomasWaldmann ThomasWaldmann changed the title borg2: some cloud price models not suitable for single-object storage borg2: warning: cloud pricing can be expensive for single-object storage Sep 27, 2024
@bjo81
Copy link

bjo81 commented Sep 28, 2024

Other cloud storage providers like https://www.idrive.com/s3-storage-e2/ or https://wasabi.com/pricing don't charge for "ls" or "objects", but for egress if it exceeds the storage 3 times. And Wasabi has a strange storage duration policy: https://wasabi.com/pricing/faq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants