Help with shredder in 3.8.10

I know we should be upgrading, but you know how that goes. So I am stuck on
3.8.10 and I am trying to take some old restores and integrate that data
into one big new server which can handle the load.

So, I have restored the data I want to a new server. I am now trying to
get that data OUT of the server with the shredder command
(/opt/rt3/sbin/rt-shredder). What do I need to change to get it to see the
plugin?

**[root@rtarchives sbin]# ./rt-shredder --plugin list
Plugins list:
Objects
Users
Attachments
Summary
Tickets
SQLDump
[root@rtarchives sbin]# ./rt-shredder --plugin help-Tickets
Couldn’t find plugin 'Tickets’
Plugins list:
Objects
Users
Attachments
Summary
Tickets
SQLDump
[root@rtarchives sbin]#

Deo Vindice

Ah HA!

Use rtx-shredder 0.07, downloadable from cpan.

[root@rtrestore090327 sbin]# pwd
/root/RTx-Shredder-0.07/sbin
[root@rtrestore090327 sbin]# ./rtx-shredder --plugin help-Tickets
USAGE
masks

If any argument is marked with keyword `mask' then it means that this
argument support two special characters:

1) `*' matches any non empty sequence of the characters. For example
`*@example.com' will match any email address in `example.com' domain.

2) `?' matches exactly one character. For example `????' will match any
string four characters long.

ARGUMENTS
Arguments which all plugins support.

limit - unsigned integer

Allow you to limit search results. Default value is `10'.

NAME
RTx::Shredder::Plugin::Tickets - search plugin for wiping tickets.

ARGUMENTS
queue - queue name

Search tickets only in particular queue.

status - ticket status

Search tickets with specified status only. 'deleted' status is also
supported.

updated_before - date

Search tickets that were updated before some date. Example: '2003-12-31
23:59:59'

[root@rtrestore090327 sbin]#On Tue, Dec 27, 2011 at 2:07 PM, Dennis Comeaux dennis.comeaux@gmail.comwrote:

I know we should be upgrading, but you know how that goes. So I am stuck
on 3.8.10 and I am trying to take some old restores and integrate that data
into one big new server which can handle the load.

So, I have restored the data I want to a new server. I am now trying to
get that data OUT of the server with the shredder command
(/opt/rt3/sbin/rt-shredder). What do I need to change to get it to see the
plugin?

**[root@rtarchives sbin]# ./rt-shredder --plugin list
Plugins list:
Objects
Users
Attachments
Summary
Tickets
SQLDump
[root@rtarchives sbin]# ./rt-shredder --plugin help-Tickets
Couldn’t find plugin ‘Tickets’
Plugins list:
Objects
Users
Attachments
Summary
Tickets
SQLDump
[root@rtarchives sbin]#


Deo Vindice

“il n’y a pas de liberté s’il y a dépendance”
–Theobalt

Ah HA!

Use rtx-shredder 0.07, downloadable from cpan.Â

rtx-shredder 0.07 is actually 4+ years old and you shouldn’t be using
it against 3.8.10.

Unfortunately, a code cleanup in 3.8.10 broke what you’re trying to
do. There’s a patch on 3.8-trunk which will be released in 3.8.11

You can download it and apply it manually with:
5add26c8d76d8a25626ba02ebafe0734fb34619f

-kevin