Copy OTRS Configs

Moderator: crythias

Locked
waleed
Znuny newbie
Posts: 5
Joined: 08 Jun 2014, 11:10
Znuny Version: 3.2.14

Copy OTRS Configs

Post by waleed »

Hi there,

I have a working system running and would like to make a copy of this system but remove the users and tickets from the system.

I need to keep the SLA, Services and Agents, auto-responses, format of forms with the changes I made in Sysconfig.

I tried doing a backup and restore and managed to delete all the tickets but I can't remove the customers_users. I tried deleting it from the database but it still shows up.

I then emptied the database and recreated the DB using the installer script. It ended up removing all my SLA information

Is there any better way of doing this so I don't have to reconfigure everything from scratch?

Thanks
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Copy OTRS Configs

Post by RStraub »

Hey waleed,

you're not supposed to delete customer_users or users. Though if you really want to, DB-delete is probably the way to go.

That you still see the customers in the webinterface might be the caching. If you did changes on the DB try to run theses script (as otrs user):

~otrs/bin/otrs.RebuildConfig.pl
~otrs/bin/otrs.DeleteCache.pl
~otrs/bin/otrs.LoaderCache.pl -o delete
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Locked