Man page - rt-shredder-5(8)
Packages contas this manual
- rt-session-viewer-5(8)
- rt-search-attributes-5(8)
- rt-validator-5(8)
- rt-fulltext-indexer-5(8)
- rt-clean-shorteners-5(8)
- rt-passwd-5(8)
- rt-munge-attachments-5(8)
- rt-email-dashboards-5(8)
- rt-setup-database-5(8)
- rt-dump-metadata-5(8)
- rt-clean-sessions-5(8)
- rt-externalize-attachments-5(8)
- rt-ldapimport-5(8)
- rt-crontool-5(1)
- rt-importer-5(8)
- rt-email-digest-5(8)
- rt-validate-aliases-5(8)
- rt-shredder-5(8)
- rt-serializer-5(8)
- rt-setup-fulltext-index-5(8)
- rt-dump-initialdata-5(8)
- rt-email-expiring-auth-tokens-5(8)
- rt-clean-attributes-5(8)
- rt-preferences-viewer-5(8)
- rt-email-group-admin-5(8)
- rt-attributes-viewer-5(8)
apt-get install request-tracker5
Manual
| rt-shredder(8) | Request Tracker Reference | rt-shredder(8) |
NAME
rt-shredder - Script which wipes out tickets from RT DB
SYNOPSIS
rt-shredder --plugin list rt-shredder --plugin help-Tickets rt-shredder --plugin 'Tickets=query,Queue="general" and Status="deleted"' rt-shredder --sqldump unshred.sql --plugin ... rt-shredder --force --plugin ...
DESCRIPTION
rt-shredder wipes out objects from your RT database. This script uses an API that the RT::Shredder module adds to RT. This script can also be used as example of usage of the shredder API.
USAGE
You can use several options to control which objects rt-shredder should wipe out.
When using other options, the --plugin option must be provided last.
OPTIONS
--sqldump <filename>
Outputs INSERT queries into a file for all shredded records. This dump can be used to restore data after wiping out.
By default rt-shredder creates files named <ISO_date>-XXXX.sql in the current directory.
--no-sqldump
Don't generate the SQL dump file.
The SQL dump file provides you with a way to "undo" the removal of records from your RT database, if needed. Use this option only if you are sure you have a recent, valid database backup in case you need to recover data that may have been shredded in error.
--object (DEPRECATED)
Option has been deprecated, use plugin "Objects" instead.
--plugin '<plugin name>[=<arg>,<val>[;<arg>,<val>]...]'
You can use plugins to select RT objects with various conditions. See also --plugin list and --plugin help options.
--plugin list
Output list of the available plugins.
--plugin help-<plugin name>
Outputs help for specified plugin.
--force
Don't prompt with questions before shredding objects.
SEE ALSO
RT::Shredder
| 2025-10-08 | perl v5.40.1 |