rtx-shredder - Script which wipe out tickets from RT DB
rtx-shredder --plugin list rtx-shredder --plugin help-Tickets rtx-shredder --plugin 'Tickets=status,deleted;queue,general' rtx-shredder --sqldump unshred.sql --plugin ... rtx-shredder --force --plugin ...
rtx-shredder - is script that allow you to wipe out objects from RT DB. This script uses API that RTx::Shredder module adds to RT. Script can be used as example of usage of the shredder API.
You can use several options to control which objects script should delete.
Outputs INSERT queiries into file. This dump can be used to restore data after wiping out.
By default creates files <RT_home>/var/data/RTx-Shredder/<ISO_date>-XXXX.sql
Option has been deprecated, use plugin Objects instead.
Objects
You can use plugins to select RT objects with variouse conditions. See also --plugin list and --plugin help options.
Output list of the available plugins.
Outputs help for specified plugin.
Script doesn't ask any questions.
RTx::Shredder
To install RTx::Shredder, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RTx::Shredder
CPAN shell
perl -MCPAN -e shell install RTx::Shredder
For more information on module installation, please visit the detailed CPAN module installation guide.