RT-VALIDATOR(1)
π rt-validator β like, RT's database's personal hype-woman-slash-bouncer π
okay bestie, this is a page from the User Contributed Perl Documentation crew, and it's about a little script called rt-validator. it lives in section 1 of the manual (that's the <italic>1</italic> in rt-validator(1), iykyk). and literally all it does is:
check and correct validity of records in RT's database π
β¨ NAME β¨
rt-validator β check and correct validity of records in RT's database
like. that's the whole name. it validates. it's an RT validator. we love a self-explanatory queen π«Ά
πΈ SYNOPSIS πΈ
here's how you actually call her:
rt-validator --check
rt-validator --check --verbose
rt-validator --check --verbose --resolve
rt-validator --check --verbose --resolve --force
see how it's giving "escalating trust levels"? first you just look π, then you look and talk, then you look and fix stuff, then you look, fix stuff, and stop asking anybody's permission. main character energy, honestly.
π DESCRIPTION π
okay so. this script checks integrity of records in RT's DB. that's the vibe check. π
and it's not just a looky-loo either β it may delete some invalid records or resurrect accidentally deleted ones. yes literally. it can bring them back from the dead. resurrection era. π§ββοΈβ¨
not me casually letting a script delete rows and un-delete rows in production. be normal about this. run it with --check first, bestie, fr fr. π
π OPTIONS π
here's the whole roster, no skips, no cuts:
--check,-cβ mandatory. like, you literally cannot do this without it. it's equal to-c. that's the short one. iconic that the required flag also has a required-flag-sized name. π--verbose,-vβ print additional info toSTDOUT. it's equal to-v. so if you want the tea β, this is how you get the tea. without it you're getting the silent treatment. π€«--resolveβ enable resolver that can delete or create some records. yes, actively change your DB. it's not just reporting anymore, she's editing. βοΈβ--forceβ resolve without asking questions. no confirmation, no "are you sure", no "bestie wait" π. it just goes. use this one with your whole chest and also your whole backup. π«‘--links-onlyβ only run the Link validation routines, useful if you changed your Organization. so if you did an org glow-up π« and only the Link stuff needs checking, this is your girl. nothing else gets validated. just Links.--cgm-onlyβ only run theCachedGroupMembersvalidation routines. same energy, different table. if CachedGroupMembers is the only thing you're worried about, she can zoom right in. π¬
π a lil sign-off π
this page was brought to you by perl v5.42.3, dated 2026-07-20, and you read the whole thing so consider this your π gold star π. go run rt-validator --check before you touch literally anything else. mwah. ππ¦
π¦ where this page comes from
- fedora 43: rt 5.0.10-1.fc43 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms