Migrate OTRS System to another server and upgrade to OTRS 6

Moderator: crythias

Post Reply
sujeeva
Znuny newbie
Posts: 46
Joined: 23 Jul 2012, 13:17
Znuny Version: 5.0.8
Real Name: Sujeeva Tissaarachchi
Company: SEwBP International
Location: Australia
Contact:

Migrate OTRS System to another server and upgrade to OTRS 6

Post by sujeeva »

Dear Friends,
I was trying to upgrade my OTRS 5.0.8 to 6.0.30 on CentOS 6.10. However, later I noticed it is not possible/advisable to upgrade to OTRS 6 on CentOS 6. I perceive it should be on CentOS 7.

So, my new plan is:
1. Install fresh OTRS 6.0.8 on CentOS 7.8
2. Migrate my OTRS data and system from OTRS 5.0.8 to server to above new environment.

My question is, how do I migrate my Database and application configurations from the old system? If anyone has done the same thing, I would appreciate sharing me any forum link or a guide.
Last edited by sujeeva on 06 Nov 2020, 00:58, edited 1 time in total.
Best Regards,
Sujeeva Tissaarachchi
wurzel
Znuny guru
Posts: 3230
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Migrate OTRS System to another server

Post by wurzel »

Hi,

that is an easy one. use https://doc.otrs.com/doc/manual/admin/6 ... ating.html

Everything is there.

Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
skullz
Znuny superhero
Posts: 621
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: Migrate OTRS System to another server

Post by skullz »

OR use backup and restore script https://doc.otrs.com/doc/manual/admin/6 ... store.html

then upgrade.
sujeeva
Znuny newbie
Posts: 46
Joined: 23 Jul 2012, 13:17
Znuny Version: 5.0.8
Real Name: Sujeeva Tissaarachchi
Company: SEwBP International
Location: Australia
Contact:

Re: Migrate OTRS System to another server

Post by sujeeva »

wurzel wrote: 04 Nov 2020, 15:49 Hi,

that is an easy one. use https://doc.otrs.com/doc/manual/admin/6 ... ating.html

Everything is there.

Flo
Thanks wurzel for your reply. I already referred to this section for my initial upgrade attempt. My understanding is, this section does not cover the database and application migration to another location. This only upgrades the existing system. However, "backup and restore method" mentioned in the skullz's reply seems relevant to my scenario. I will try and update the forum. Please mention if anything else. Thanks again
Best Regards,
Sujeeva Tissaarachchi
wurzel
Znuny guru
Posts: 3230
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Migrate OTRS System to another server

Post by wurzel »

Hi,

actually the docs do not show how to transfer your (backup-) files/database from one host to another.
It is a generic documentation and you should adapt it to your needs.
Backup/Restore is mentioned in the docs as well.

Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
sujeeva
Znuny newbie
Posts: 46
Joined: 23 Jul 2012, 13:17
Znuny Version: 5.0.8
Real Name: Sujeeva Tissaarachchi
Company: SEwBP International
Location: Australia
Contact:

Re: Migrate OTRS System to another server

Post by sujeeva »

With my readings so far, this should be the plan:

Step 1. Backup entire system (with database) which is in CentOS 6 server
https://doc.otrs.com/doc/manual/admin/6 ... store.html
Step 2. Get a fresh CentOS 7 VM
Step 3. Install OTRS 5 on the CentOS 7
Step 4. Restore the backup of step 1
Step 5. Upgrade the OTRS 5 to 6
https://doc.otrs.com/doc/manual/admin/6 ... ating.html

Even though the above steps seems straight forward, I think there can be practical issues encountered by professionals who has done this earlier. Can anyone please share your experiences? My real worry is about migrating the system with the database from one server to another. (Step 4) Any comment highly appreciated
Best Regards,
Sujeeva Tissaarachchi
root
Administrator
Posts: 3961
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Migrate OTRS System to another server

Post by root »

sujeeva wrote: 05 Nov 2020, 11:07 My real worry is about migrating the system with the database from one server to another. (Step 4) Any comment highly appreciated
Hi,

Just copy the backup with scp to the new server.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
skullz
Znuny superhero
Posts: 621
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: Migrate OTRS System to another server

Post by skullz »

sujeeva wrote: 05 Nov 2020, 11:07 With my readings so far, this should be the plan:

Step 1. Backup entire system (with database) which is in CentOS 6 server
https://doc.otrs.com/doc/manual/admin/6 ... store.html
Step 2. Get a fresh CentOS 7 VM
Step 3. Install OTRS 5 on the CentOS 7
Step 4. Restore the backup of step 1
Step 5. Upgrade the OTRS 5 to 6
https://doc.otrs.com/doc/manual/admin/6 ... ating.html

Even though the above steps seems straight forward, I think there can be practical issues encountered by professionals who has done this earlier. Can anyone please share your experiences? My real worry is about migrating the system with the database from one server to another. (Step 4) Any comment highly appreciated
Yes..this one correct..
Why not try it first on your test machine..record every step one by one / error / additional step needed..
on the actual migration, you should already cover any issue during test.
sujeeva
Znuny newbie
Posts: 46
Joined: 23 Jul 2012, 13:17
Znuny Version: 5.0.8
Real Name: Sujeeva Tissaarachchi
Company: SEwBP International
Location: Australia
Contact:

Re: Migrate OTRS System to another server

Post by sujeeva »

root wrote: 05 Nov 2020, 12:04
sujeeva wrote: 05 Nov 2020, 11:07 My real worry is about migrating the system with the database from one server to another. (Step 4) Any comment highly appreciated
Hi,

Just copy the backup with scp to the new server.

- Roy
Thanks Roy.! may be I didn't explain that correctly. I can copy the back to the destination. But my worry is configuring the backup in the new server.
I have to follow the restore section of below guide:

https://doc.otrs.com/doc/manual/admin/6 ... store.html

What are the practical issues came across by professionals who has done this earlier ?
Best Regards,
Sujeeva Tissaarachchi
Post Reply