[rt-users] Confused by rt-dump-database

Jesse Vincent jesse at bestpractical.com
Fri Sep 12 17:08:57 EDT 2008


On Sep 12, 2008, at 5:01 PM, Todd Chapman wrote:

> I'm try to use rt-dump-database to move RT configs between  
> development and production, but am confused by how it's supposed to  
> be used.
>
> rt-dump-database takes an optional parameter to turn $LocalOnly on/ 
> off  and it is on by default. This means no ACLs get dumped. If I  
> turn it off, then it goes into an infinite loop, which is documented  
> in the code.

Wanna patch it?

>
> What series of steps should be performed to use this correctly?

It's primarily been used as a debugging tool and usually used for  
dumping scrips and custom fields.


> Also, I was running into problems with XML parsing errors. There  
> were pretty easily cleared up by converting rt-dump-database to  
> product YAML format instead of XML.

I believe there is/was a mode to use Data::Dumper instead of XMLm as  
well.

> Thanks.
>
> -Todd
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com




More information about the rt-users mailing list