NAME
RTx::Shredder - Cleanup RT database
SYNOPSIS
use RTx::Shredder;
my $deleted = RT::Tickets->new( $RT::SystemUser );
$deleted->Limit( VALUE => 'deleted' );
while( my $t = $deleted->Next ) {
$t->Wipeout;
}
DESCRIPTION
RTx::Shredder is extention to RT API which allow to delete data from database.
USAGE
RT::Shredder is extension to RT API which add(push) methods into base RT classes.
Dependencies
Dependencies method implementend in each RT class which Shredder can delete. Now Shredder support wipe out of Ticket, Transaction, Attachment, TicketCustomFieldValue, Principal, ACE, Group, GroupMember, CachedGroupMember.
BUGS
Transactions support
Transactions unsupported yet, so you it's only save when all other interactions with RT DB are stopped.
rtx-shredder.in
Modlue also install crappy rtx-shredder.in file, this shouldn't happen in future.
Documentation
Many bugs in small docs: insanity, spelling, gramar and so on. Patches are wellcome.
AUTHOR
Ruslan U. Zakirov <cubic@wildgate.miee.ru>
COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the Perl distribution.
SEE ALSO
perl(1), rtx-shredder.