1RT-SHREDDER(1)        User Contributed Perl Documentation       RT-SHREDDER(1)
2
3
4

NAME

6       rt-shredder - Utility to wipe out data from your RT database
7

SYNOPSIS

9         rt-shredder --plugin list
10         rt-shredder --plugin help-Tickets
11         rt-shredder --plugin 'Tickets=query,Queue="general" and Status="deleted"'
12
13         rt-shredder --sqldump unshred.sql --plugin ...
14         rt-shredder --force --plugin ...
15

DESCRIPTION

17       rt-shredder wipes out objects from your RT database. This script uses
18       an API that the RT::Shredder module adds to RT.  This script can also
19       be used as example of usage of the shredder API.
20

USAGE

22       You can use several options to control which objects rt-shredder should
23       wipe out.
24
25       When using other options, the --plugin option must be provided last.
26

OPTIONS

28   --sqldump <filename>
29       Outputs INSERT queries into a file for all shredded records.  This dump
30       can be used to restore data after wiping out.
31
32       By default rt-shredder creates files named <ISO_date>-XXXX.sql in the
33       current directory.
34
35   --no-sqldump
36       Don't generate the SQL dump file.
37
38       The SQL dump file provides you with a way to "undo" the removal of
39       records from your RT database, if needed. Use this option only if you
40       are sure you have a recent, valid database backup in case you need to
41       recover data that may have been shredded in error.
42
43   --object (DEPRECATED)
44       Option has been deprecated, use plugin "Objects" instead.
45
46   --plugin '<plugin name>[=<arg>,<val>[;<arg>,<val>]...]'
47       You can use plugins to select RT objects with various conditions.  See
48       also --plugin list and --plugin help options.
49
50   --plugin list
51       Output list of the available plugins.
52
53   --plugin help-<plugin name>
54       Outputs help for specified plugin.
55
56   --force
57       Don't prompt with questions before shredding objects.
58

SEE ALSO

60       RT::Shredder
61
62
63
64perl v5.34.0                      2022-03-01                    RT-SHREDDER(1)
Impressum