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

NAME

6       rt-shredder - Script which wipe out tickets from RT DB
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 - is script that allow you to wipe out objects from RT DB.
18       This script uses API that RT::Shredder module adds to RT.  Script can
19       be used as example of usage of the shredder API.
20

USAGE

22       You can use several options to control which objects script should
23       wipeout.
24

OPTIONS

26   --sqldump <filename>
27       Outputs INSERT queries into file. This dump can be used to restore data
28       after wiping out.
29
30       By default creates files named <ISO_date>-XXXX.sql in the current
31       directory.
32
33   --object (DEPRECATED)
34       Option has been deprecated, use plugin "Objects" instead.
35
36   --plugin '<plugin name>[=<arg>,<val>[;<arg>,<val>]...]'
37       You can use plugins to select RT objects with various conditions.  See
38       also --plugin list and --plugin help options.
39
40   --plugin list
41       Output list of the available plugins.
42
43   --plugin help-<plugin name>
44       Outputs help for specified plugin.
45
46   --force
47       Script doesn't ask any questions.
48

SEE ALSO

50       RT::Shredder
51
52
53
54perl v5.28.1                      2019-05-08                    RT-SHREDDER(1)
Impressum