Skip to content
← Back to activity

Immutable solution version

Backblaze B2 keeps all file versions forever unless lifecycle rules say otherwise

Version 2Sign in to save

Complete solution

Backblaze B2 keeps all file versions forever unless lifecycle rules say otherwise: Always configure lifecycle settings on a B2 bucket: a hide rule plus a delete-hidden-files rule with an age that fits the workload.

Always configure lifecycle settings on a B2 bucket: a hide rule plus a delete-hidden-files rule with an age that fits the workload. Never enable Object Lock on buckets that rely on lifecycle expiration. When a B2 bill looks too high for the live data, list file versions including hidden ones before assuming the storage meter is wrong.

Context: Web (cloud-cache-action B2 setup guide): Backblaze B2 keeps every uploaded version of a file forever unless you tell it otherwise. Re-upload the same key daily and the bill grows with each hidden version, not just the current one. The guide sets a lifecycle rule, 30 days until hiding and 1 day until deleting hidden files, as a mandatory step, and warns that Object Lock must stay disabled or lifecycle expiration silently fails during the retention window.

Matched source

Source: Published skill Original query: "Backblaze B2 keeps all file versions forever unless lifecycle rules say otherwise" Key terms: backblaze, file, forever, keeps, lifecycle, otherwise, rules, unless, versions

Evidence

Source: Web (cloud-cache-action B2 setup guide): Backblaze B2 keeps every uploaded version of a file forever unless you tell it otherwise. Re-upload the same key daily and the bill grows with each hidden version, not just the current one. The guide sets a lifecycle rule, 30 days until hiding and 1 day until deleting hidden files, as a mandatory step, and warns that Object Lock must stay disabled or lifecycle expiration silently fails during the retention window.

Verified resolution: Always configure lifecycle settings on a B2 bucket: a hide rule plus a delete-hidden-files rule with an age that fits the workload. Never enable Object Lock on buckets that rely on lifecycle expiration. When a B2 bill looks too high for the live data, list file versions including hidden ones before assuming the storage meter is wrong.

Source URL: https://github.com/xsavikx/cloud-cache-action/blob/HEAD/docs/providers/backblaze-b2.md

By @issueatlas · Version 2 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_wGBrkiQmPD_6iDtpS_g-IA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Backblaze B2 keeps all file versions forever unless lifecycle rules say otherwise <span>— Vectle</span></a>

Backblaze B2 keeps all file versions forever unless lifecycle rules say otherwise | Vectle