Backup and Restore all the setting

Moderator: crythias

Locked
hienque
Znuny newbie
Posts: 14
Joined: 21 Jul 2015, 08:30
Znuny Version: 5.0 RC1
Real Name: Xuân Hiền
Company: SAIGONBANK

Backup and Restore all the setting

Post by hienque »

Hi Crythias,
I am a newbee. I have researched OTRS 3.2.9. Now, my manager want to apply it to his company. I want to install newest version 4.0.10 and restore all the setting from version 3.2.9 (just install newest version--> restore --> running). But I don`t know How to back up all the setting (queue setting, ticket setting, mail setting,queue, service ...).
Please help me!
Thank you very much!
Last edited by hienque on 22 Jul 2015, 11:13, edited 2 times in total.
OTRS 5.0 RC1 on CentOS with MySQL database
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Backup and Restore all the setting

Post by RStraub »

Only the settings, not the data? That might be possible.

Backup (restore) these files:

Code: Select all

~otrs/Kernel/Config.pm
~otrs/Kernel/Config/GenericAgent.pm
~otrs/Kernel/Config/ZZZ*
Then manually activate all cronjobs you need (~otrs/var/cron/) -> remove the .dist fileending and restart the cronjobs.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
hienque
Znuny newbie
Posts: 14
Joined: 21 Jul 2015, 08:30
Znuny Version: 5.0 RC1
Real Name: Xuân Hiền
Company: SAIGONBANK

Re: Backup and Restore all the setting

Post by hienque »

Thanks RStraub,
I will try.
OTRS 5.0 RC1 on CentOS with MySQL database
hienque
Znuny newbie
Posts: 14
Joined: 21 Jul 2015, 08:30
Znuny Version: 5.0 RC1
Real Name: Xuân Hiền
Company: SAIGONBANK

Re: Backup and Restore all the setting

Post by hienque »

I think i must backup database to have old services and queues that I had created. Is that right? Perhap the best solution is backup full. Please help me again!
OTRS 5.0 RC1 on CentOS with MySQL database
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Backup and Restore all the setting

Post by RStraub »

Well, the "best" would be to upgrade and do a fullbackup then :)

Queues and services are in the DB, yes - and so are users and customers (if you don't connect to an external service).
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
hienque
Znuny newbie
Posts: 14
Joined: 21 Jul 2015, 08:30
Znuny Version: 5.0 RC1
Real Name: Xuân Hiền
Company: SAIGONBANK

Re: Backup and Restore all the setting

Post by hienque »

My current version is OTRS 3.2.9. So What I can do to upgrade to 4.0.10? I think it is difficult to install new version and restore my old DataBase and setting. I do not have experience. Can you show me the best detail solution in this case? Thank you!
OTRS 5.0 RC1 on CentOS with MySQL database
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Backup and Restore all the setting

Post by RStraub »

You only need to do two upgrades:

Current -> 3.3.Latest with this manual:
https://github.com/OTRS/otrs/blob/rel-3_3/UPGRADING.md

3.3.Latest -> 4.0.Latest with this manual:
http://otrs.github.io/doc/manual/admin/ ... ading.html
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
hienque
Znuny newbie
Posts: 14
Joined: 21 Jul 2015, 08:30
Znuny Version: 5.0 RC1
Real Name: Xuân Hiền
Company: SAIGONBANK

Re: Backup and Restore all the setting

Post by hienque »

Thanks RStraub,
You are wonderful!
OTRS 5.0 RC1 on CentOS with MySQL database
Locked