Copying Test System over to Production

Moderator: crythias

Locked
Gunz
Znuny newbie
Posts: 44
Joined: 30 Jun 2010, 01:43
Znuny Version: 2.4

Copying Test System over to Production

Post by Gunz »

Hi, we've been running the Windows version 2.4.7 in a test environment for some time - getting the system setup, making config changes etc to meet our needs.

It's all going well. It's now time to replicate this Test setup on our new Production server (runnning on different physical hardware).

The new Proudction version of OTRS has been installed but at this stage is a completely generic Windows 2.4.7 version.

My question: how do I duplicate the Test environment on the new Production environment?

How do I move the scripts, user(s) setup, email setup, various system paramaters over from one instance to the other but not any of the the data in the database?

I'm assuming I can copy over certain directories to "true up" the two instances but what are all the directories and files do I need to copy?

I've read an article on backing up the Windows environment. I'm afraid it didn't make a lot of sence to me... I'm still not sure what needs to be copied.

Any help would be greatly appreciated!

Thanks Wayne
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Copying Test System over to Production

Post by crythias »

The minimum you'd have to copy over is Config.pm and restore the additional sysconfig customizations from the file you saved/restored from the web interface.

If you've made changes to code, templates, themes, then forget all that and backup your Production OTRS generic c:\otrs directory and then copy Test c:\otrs on top of production c:\otrs.

The biggest problem you'll have is if, when you set up Production database, you changed the connection username and password. Did you remember to back up the Production c:\otrs? you should be able to get the connection username and password from the Kernel\Config.pm

Edit: if you've made any schema changes to the Test database (including adding a theme or custom fields per the docs), you'll need to apply those schema changes to the Production server.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Gunz
Znuny newbie
Posts: 44
Joined: 30 Jun 2010, 01:43
Znuny Version: 2.4

Re: Copying Test System over to Production

Post by Gunz »

Thanks for your response. It's been very helpdful.
Locked