Migration from OTRS Znuny

Moderator: crythias

Locked
kobylevy
Znuny newbie
Posts: 5
Joined: 26 Feb 2025, 17:16
Znuny Version: 7.1
Real Name: Koby Levy

Migration from OTRS Znuny

Post by kobylevy »

Hi,

We have running OTRS 6.0.4 which we installed from source, therefore it making difficulty to upgrade with the rpm.

I installed new server (Znuny 7.1) via rpm and would like to migrate my OTRS data to my new system.

Beside of copying templates and customer skins, the main chalange is the DB.

Plesae advice on best option (I'm thinking of duplicate my exiting server, upgrade to latest (the new copied server), and dump/restore on new server).

Thanks,

Koby
wurzel
Znuny guru
Posts: 3270
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Migration from OTRS Znuny

Post by wurzel »

Hi,

actually all of your questions are covered by the docs
https://doc.znuny.org/znuny_lts/release ... pdate.html

regards
Flo
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- 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.
kobylevy
Znuny newbie
Posts: 5
Joined: 26 Feb 2025, 17:16
Znuny Version: 7.1
Real Name: Koby Levy

Re: Migration from OTRS Znuny

Post by kobylevy »

Hi Flo,

I already upgrade to all those version on my lab and it working.

But for production (which prefeing to use fresh new server with RPM installation), I need all DB data to new server, so I dont have migration process, only dump/restore.

Thanks,
Koby
wurzel
Znuny guru
Posts: 3270
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Migration from OTRS Znuny

Post by wurzel »

Hi,

bring the new server online.
stop the services on the old
do a backup.pl take all the files and do a restore.pl on new system (scripts are in $HOME/scripts)
start the new server/services
do a migration if needed

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

-- 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.
kobylevy
Znuny newbie
Posts: 5
Joined: 26 Feb 2025, 17:16
Znuny Version: 7.1
Real Name: Koby Levy

Re: Migration from OTRS Znuny

Post by kobylevy »

Hi,

my problem is that on new server I have znuny 7.1 (znuny schema, user....), while on old otrs the DB structure is diffrent.

Koby
wurzel
Znuny guru
Posts: 3270
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Migration from OTRS Znuny

Post by wurzel »

Hi,

you have to do the migration on new server. You can not merge the two databases.
drop the new database
backup the old
move to new server and restore there
do the migration from doc.

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

-- 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.
kobylevy
Znuny newbie
Posts: 5
Joined: 26 Feb 2025, 17:16
Znuny Version: 7.1
Real Name: Koby Levy

Re: Migration from OTRS Znuny

Post by kobylevy »

Thanks Flo,

I will try.

Just one last question, I will dump old server, drop DB on new, restore old on new.

About migration, should I run the migrate scrtips for all versions or I can run the last one?

scripts/MigrateToZnuny6_1.pl
scripts/MigrateToZnuny6_2.pl
scripts/MigrateToZnuny6_3.pl
scripts/MigrateToZnuny6_4.pl
scripts/MigrateToZnuny6_5.pl
scripts/MigrateToZnuny7_0.pl
scripts/MigrateToZnuny7_1.pl

Thanks, Koby
wurzel
Znuny guru
Posts: 3270
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Migration from OTRS Znuny

Post by wurzel »

Hi,

please read the docs

https://doc.znuny.org/znuny_lts/release ... pdate.html
Use the following pages as a guide to updating Znuny. Each version is individual, as the instruction differ from version to version, even if they are similar.
If you are updating over multiple versions, please know that you must update to each minor version along the way.
cheers
Flo
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- 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.
Locked