💾 Archived View for gemini.freeradical.zone › log › 2021-02-03_maintenance.gmi captured on 2022-07-16 at 13:29:03. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-12-04)
-=-=-=-=-=-=-
I have a Makefile to do lots of routine tasks. I run `make maintenance` each month to remove a bunch of cruft. Removing old media is especially helpful if you're paying for storage by the GB. This month's run deleted about 100GB of S3 objects from my account.
This is a snippet of what my Makefile looks like:
TOOTCTL=docker-compose run --rm web tootctl maintenance: $(TOOTCTL) media remove --concurrency 15 --days 7 # default 7 $(TOOTCTL) media remove-orphans $(TOOTCTL) preview_cards remove --concurrency 15 --days 30 $(TOOTCTL) statuses remove