rt-externa...ttachments(8)
π NAME π
rt-externalize-attachments β the little tool that scoops your attachments up out of the database and plops them into external storage. Bestie, it's a glow-up for your database. β¨
It's a section 8 joint from the Request Tracker Reference manual, so yeah, sysadmin territory. Put your hard hat on, it's cute though, I promise. π
β¨ SYNOPSIS β¨
rt-externalize-attachments [options]
That's it. That's the whole vibe. No positional args, just options. π
π¦ DESCRIPTION π¦
Okay so picture this: your RT database has been hoarding attachments like it's a dragon sitting on a pile of gold, and honestly? It's giving bloated. π
rt-externalize-attachments moves those attachments out of the database and into some external storage instead. Database stays lean, files live somewhere else, everyone eats. Periodt.
πΈ OPTIONS πΈ
--age=AGEβ only moves the attachments that are older thanAGEdays. Like, if you only wanna relocate the ancient stuff and leave the fresh ones alone, this is your girl. By default, everything gets moved. Everything. All of it. π--batchsize=NUMβ caps it atNUMattachments moved per run. Baby steps energy. Great if you don't wanna yeet your whole database in one go. By default, everything gets moved (yes, again, everything).-h,--helpβ shows you this documentation. The classic. The icon. π«Ά-v,--verboseβ logs a message at levelinfofor each attachment: one before its upload begins, and one after it completes. So you get the "omg it's starting" and the "omg it's done" π Two messages, one attachment, zero mystery.--dry-runβ does a trial run and makes no changes whatsoever. The output is mostly the same as a real run, so you can see exactly what would happen before you commit. Sneaky preview. π Heads up though:dry-runimplies verbose output, so it's chatty by nature. That's not a bug, that's the whole point.
π Quick reminder bestie: --dry-run changes nothing. It's the safest little test drive. Use it before you go feral on production.
π SEE ALSO π
"External-storage"inRT_ConfigRT::ExternalStorage
Go read those if you wanna know where your attachments are actually gonna end up. Iykyk. π
Okay that's the whole page!! Written by the perl v5.38.2 girlies, dated 2023-10-29, straight outta section 8 of the Request Tracker Reference. Slay, go externalize something. π
β¨π¦
π¦ where this page comes from
- ubuntu noble: request-tracker4 4.4.7+dfsg-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms