If you've come here looking for a way to switch to Kopano on a Univention system, please follow https://wiki.z-hub.io/display/K4U/Migrating+from+the+old+Zarafa+Univention+Apps+to+Kopano4UCS instead,

Disclaimer

Use the script at your own risk and only if you know what the script is doing .

This script is only intended for a "standard" setup, which means a server where all the ZCP components are installed on the same machine and the ldap- or db-plugin is used.

Requirements

The migration script needs the following dependencies

The following distributions are supported :

Kopano

The latest final version of Kopano will always be installed from https://download.kopano.io/supported/core:/final/ 
Repositories will be added to your system in order to install Kopano Core and WebApp

Parameters

The following parameter are available. 

Options:
  -b, --backup          Location to backup.
  -c, --scl             Use software collections in RHEL
  -h, --help            Show this help message and exit
  -r, --run-script      Run the scipt

 

The script

The script will perform the following tasks;

  1. backup /etc/zarafa
  2. stop zarafa services
  3. remove Zarafa
  4. add Kopano Core and Webapp repositories
  5. install Kopano
  6. migrate configuration files
  7. chown /var/lib/zarafa to kopano
  8. start kopano services

 

or use git 

git clone https://stash.kopano.io/scm/ksc/migrate.git

 

ZCP version 

The script is able to migrate from the latest ZCP 7.1.x and ZCP 7.2.x final version. 

Starting the script

By default the script will start in dryrun mode, which means that it will not change anything on the system and only print the things it would do.
Running the script with parameter  -r will start the migration.