rt-externa...ttachments(8)
πΈ NAME πΈ
rt-externalize-attachments β ok bestie, this is the little script that takes your attachments and moves them from the database over to some external storage. Moving day, but for blobs. π
It lives in section 8 of the Request Tracker Reference, so it's a sysadmin-adjacent command, not some lil userland toy. π
β¨ SYNOPSIS β¨
rt-externalize-attachments [options]
That's it. That's the whole entrance. No arguments, just vibes and flags. π¦
π DESCRIPTION π
So rt-externalize-attachments is the tool you reach for when you want to take attachments out of the database and park them in some external storage instead. That's literally its whole job. It's giving "decluttering my room" but make it infrastructure. π§Ήβ¨
π OPTIONS π
--age=AGEβ if you pass an age, only the attachments older thanAGEdays get moved. Anything fresher stays put. And if you don't pass it at all? Default behaviour is that everything gets moved. No age filter, no survivors. π--batchsize=NUMβ if you give it a batch size, onlyNUMattachments get moved. Cap it, queen. And again, default is that everything is moved. π--class=RT::Attachmentsor--class=RT::ObjectCustomFieldValuesβ pass a class and only objects of that specific class get externalized. Pick your fighter. π₯--ids=NUM,NUMβ use--idsalong with--classto explicitly externalize the specific records you name. Not a solo act, bestie, it needs--classto ride with. π«-h,--helpβ displays this documentation right there for you. Self-care. π«Ά-v,--verboseβ logs a message at levelinfofor each attachment, both before its upload begins and after it completes. So you get a lil running commentary the whole way through. Narrator voice: on. ποΈ--dry-runβ does a trial run and makes no changes at all, but mostly the same output as a real run gets produced. So you can peek without committing. And heads up:dry-runimplies verbose output, so it's chatty whether you asked or not. π
ngl, --dry-run is the main character here. Always do a trial run before you start yeeting your attachments into external storage, fr fr. π
π₯ SEE ALSO π₯
"External-storage"inRT_ConfigRT::ExternalStorage
periodt. that's the whole page. π
This one's from perl v5.40.1, dated 2026-06-21 β shoutout to the Request Tracker crew for keeping the docs alive, mwah. ππ§
π¦ where this page comes from
- ubuntu stonking: request-tracker5 5.0.10+dfsg-3 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms