Bucket Operations and Retention
This page covers safe operations for bucket growth, cleanup, and data lifecycle management.
Retention Planning
Define retention by data type:
- media: short or tiered retention depending on compliance needs
- metadata: keep only active and auditable keys
- timeseries: aggregate and prune raw points over time
Operational Controls
- define bucket ownership and responsibility
- schedule cleanup and compaction workflows
- monitor bucket growth and write rates
- verify restore/read paths periodically
Cleanup Strategies
- delete low-value media artifacts early
- archive high-value incident media
- aggregate old timeseries into summary metrics
- remove deprecated metadata keys
Safety Checklist Before Deletion
- confirm no active workflow depends on target bucket path
- confirm data retention obligations are satisfied
- snapshot/export critical data where required
Never run broad deletion operations without validating downstream workflow dependencies.
