rt-validator-4(8)

rt-validator-48

Check and correct validity of records in rt's database

Usage

rt-validator --check

rt-validator --check --verbose

rt-validator --check --verbose --resolve

rt-validator --check --verbose --resolve --force

check_integrity

Takes two (table name, column(s)) pairs. First pair is reference we check and second is destination that must exist. Array reference can be used for multiple columns.

Returns 0 if a record is missing or 1 otherwise.

Overview

This script checks integrity of records in RT's DB. May delete some invalid records or ressurect accidentally deleted.

Options

check
    mandatory.
    
    it's equal to -c
verbose
    print additional info to STDOUT
    it's equal to -v
resolve
    enable resolver that can delete or create some records
force
    resolve without asking questions
links-only
    only run the Link validation routines, useful if you changed your Organization

Releases

6 releases since Debian 7 (Wheezy); the text changed 5 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12

From request-tracker4 4.4.6+dfsg-1.1+deb12u4 in Debian 12 (Bookworm). Parsed by carta from the page's man source.