Import customizing to production environment

Moderator: crythias

Locked
dcorbera
Znuny expert
Posts: 164
Joined: 15 Mar 2013, 17:09
Znuny Version: OTRS 3.2

Import customizing to production environment

Post by dcorbera »

We have an OTRS installed on a test environment, with our customization. In order to create the production environment, is there an easy way to export the TEST environment customization and import it to the production environment? Thanks
Using:
OTRS HELP DESK 3.3.5
OTRS ITSM 3.3.5
POSTGRES 8.3
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Import customizing to production environment

Post by reneeb »

What kind of customizing did you do? Just configuration or even code changes? If you changed code I propose building an add-on (see http://doc.otrs.org/developer/3.1/en/ht ... sions.html). Then you can install that add-on via package manager in your live system. SysConfig changes can be "imported" by copying the Kernel/Config/Files/ZZZAuto.pm and Kernel/Config.pm to the live system. But be aware that this shouldn't be done when you already changed config settings in your live system and you fear to overwrite those changes.

Changes in the database are tricky to import. You might export some tables from the test environment and import it on the live environment, but you can't do that for all tables (unless you want test data in you live environment). Many tables are connected via foreign keys and you cannot export/import those tables that depend on other tables that you don't want to import.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Locked