Commit Graph

3 Commits

Author SHA1 Message Date
83328a5ab5 fix(cleanup-backups): trash-based retention instead of mass rm
The old script grouped backups with cut -d'-' -f1-3, which mis-grouped
volume keys and permanently deleted ~360 archives on 2026-06-11. Replace
with safe retention: group by full volume key regex, keep 3 newest per key,
move excess to /backup/trash, and protect uploading-*, broken_*, and
deprecated-* prefixes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-11 14:53:03 +02:00
Sebastian
29efdbd346 actually delete them also 2024-05-13 05:36:54 +02:00
Sebastian
23c21c9ec3 only leave the freshest backup of each volume 2024-05-13 05:35:36 +02:00