Apply explicit retention
retention commands
blobyard retention set --latest 20 --branch main --path 'releases/**'
blobyard retention show
blobyard retention clearA retention policy keeps the newest matching versions. It only removes versions that match its project, path, and optional branch scope. Share or grant expiry does not invoke retention. Commands act on the workspace and project stored by blobyard init, or explicit --workspace and --project flags.
Write safe policy rules
- --latest takes a positive whole number of versions to keep.
- Globs support * and ** and can be up to 256 characters.
- Path globs match remote logical paths and cannot start with / or contain .. segments.
- Branch globs match explicit git branch provenance recorded at upload time.
Know the plan requirement
Retention is included in the Team and BYO Storage plans. Every run records how many versions were considered and deleted, and the project settings page shows the last run.